This repository has been archived by the owner. It is now read-only.
Backup/Restore scripts for duplicity
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
backup-clean.sh
backup-collection-status.sh
backup-list.sh
backup-remove-old.sh
backup-restore.sh
backup-verify.sh
backup.sh
conf.skel
dump-information.sh
includes.sh
user-notification.sh

README.md

Duplicity backup scripts

Backup/Restore scripts for duplicity with Google drive as backend

Setup

  • scripts have to be in /usr/local/sbin/
  • conf.skel needs to be copied to /root/.duplicity/conf and empty vars have to have been configured:
    • PASSPHRASE : GPG passphrase
    • ENCRYPT_KEY : GPG key id
    • REMOTE_DIR : Remote dir, for Google drive: gdocs://YOUR_GMAIL/SOME_DIR/$HOSTNAME
    • BACKDIRS : Dirs to backup, without leading /, e.g.: "home var/lib some/other/dir"
    • EMAIL : Email to send cron mails to
  • include/exclude files have to be in /usr/local/etc/duplicity, and named like this:
    • exclude-common: common patterns that should be ignored for all backups
    • exclude-DIR-HOSTNAME: where DIR is the directory being backed up, where / is replaced with -, e.g. var/log => var-log, HOSTNAME: is the systems hostname