duplicity-backup.sh is a wrapper script derived from the dt-s3-backup.sh script of Damon Timm (http://damontimm.com/code/dt-s3-backup) and designed to automate and simplify the remote backup process of duplicity on Amazon S3 instances or other backup destinations (ftp, rsync, sftp, local file…).
See the README file hereafter for more information.
duplicity-backup.sh IS NOT duplicity
It is only a wrapper script for duplicity written in bash!
This means the following:
- You need to install and configure duplicity BEFORE using duplicity-backup.sh
- The official documentation of duplicity is relevant to duplicity-backup.sh too. Virtually any option supported by duplicity can be specified in the config file of duplicity-backup.sh. See the
CLEAN_UP_VARIABLEparameters in particular.
- Before asking something about duplicity-backup.sh, ensure that your question isn’t actually concerning duplicity ;) First, make sure you can perform a backup with duplicity without using this script. If you can’t make the backup work with duplicity alone, the problem is probably concerning duplicity and not this script. If you manage to make a backup with duplicity alone but not with this script, then there is probably a problem with duplicity-backup.sh.
Project page / Bug reports / Download
The code is hosted on Github : http://github.com/zertrin/duplicity-backup (Last update: 10 October 2015 – )
Feedback and pull requests are welcome! However please always use individual feature branches for each pull request. I may not accept a pull request from a master branch.
Until I finally find time to write a real how-to for duplicity-backup, here is the README: