Skip to content

Instantly share code, notes, and snippets.

@sergejx
Created July 16, 2019 17:48
Show Gist options
  • Save sergejx/75cb7680c8b9be5511e0d678e852d34f to your computer and use it in GitHub Desktop.
Save sergejx/75cb7680c8b9be5511e0d678e852d34f to your computer and use it in GitHub Desktop.
Backup using Duplicity
#!/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