Last active
September 26, 2018 22:31
-
-
Save waltervargas/256a0d5937caa8bd9fcecc923a2f4df6 to your computer and use it in GitHub Desktop.
duplicity backup to s3
This file contains hidden or 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 | |
HOSTNAME=$(hostname) | |
BUCKET="walterve-devops" | |
PREFIX="backups/${HOSTNAME}" | |
duplicity full \ | |
--verbosity info \ | |
--s3-use-new-style \ | |
--s3-use-multiprocessing \ | |
--s3-european-buckets \ | |
--s3-unencrypted-connection \ | |
--progress \ | |
--log-file ${HOME}/.duplicity/s3.log \ | |
"${HOME}" "s3+http://${BUCKET}/${PREFIX}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment