Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ulimit -n 1024
- # First run creates a full backup, and incremental backups thereafter.
- # Install 'duplicity' and 'gnupg' in Cygwin...
- # https://lowendbox.com/blog/encrypted-backups-with-duplicity/
- SOURCE="$(cygpath "$USERPROFILE\source")"
- DEST="file://$(cygpath "J:\dest")"
- export PASSPHRASE=qZSt3rigV0wDW9t43BtpAQC066F
- export SIGN_PASSPHRASE=$PASSPHRASE
- duplicity --encrypt-key=012EE35A --sign-key=012EE35A $SOURCE $DEST
- unset PASSPHRASE
- unset SIGN_PASSPHRASE
- unset SOURCE
- unset DEST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement