Created
July 16, 2019 17:48
-
-
Save sergejx/75cb7680c8b9be5511e0d678e852d34f to your computer and use it in GitHub Desktop.
Backup using Duplicity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export PASSPHRASE=$(secret-tool lookup name duplicity-backup) | |
duplicity --verbosity 5 \ | |
--full-if-older-than 1M \ | |
--exclude-filelist /home/sergej/.duplicity-exclude \ | |
/home/sergej sftp://backup//backups/volga | |
unset PASSPHRASE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment