Lubuntu auto backup

Backup the dropbox folder to the ubuntu one folder on startup. First backuo will be an encrypted full backup, after that it will be incremental.

install duplicity from the package manager

make this file in home directory and call it Make it executable


#!/bin/bash -e

export PASSPHRASE=yourstrongpassphrasehere  without spaces

duplicity /home/user/Dropbox file:///home/user/Ubuntu\ One/Dropbox


Open /etc/rc.local in your editor with root permission and add the command you want to execute at startup before the line exit 0 in that file.

In this case it is

exec "/home/user/" > /var/log/duplicity/logfile
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s