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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user