Simple Duplicity backup scheme

Here is the quick description of how you can setup simple backup scheme in Duplicity:

00 22 1 * * /usr/bin/duplicity full –no-encryption /etc/vsftpd file:///var/backup/ftp/conf.bp
00 22 2-31 * * /usr/bin/duplicity inc –no-encryption /etc/vsftpd file:///var/backup/ftp/conf.bp
00 23 1 * * /usr/bin/duplicity remove-older-than 6M –no-encryption –force file:///var/backup/ftp/conf.bp

First line create full backup on first day of month. Second make incremental backups each other day. And by third line I leave backups for the last 6 months.

Advertisements

Tags: , , , ,

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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


%d bloggers like this: