1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-04 15:54:48 +01:00

re-do the backup script to use the duplicity program

Duplicity will manage the process of creating incremental backups for us.
Although duplicity can both encrypt & copy files to a remote host, I really
don't like PGP and so I don't want to use that.

Instead, we'll back up to a local directory unencrypted, then manually
encrypt the full & incremental backup files. Synchronizing the encrypted
backup directory to a remote host is a TODO.
This commit is contained in:
Joshua Tauberer
2014-06-09 09:34:52 -04:00
parent cecda9cec5
commit 5490142df5
2 changed files with 76 additions and 33 deletions

View File

@@ -2,7 +2,7 @@
source setup/functions.sh
apt_install python3-flask links rdiff-backup
apt_install python3-flask links duplicity
# Create a backup directory and a random key for encrypting backups.
mkdir -p $STORAGE_ROOT/backup