Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 7th, 2012  |  syntax: None  |  size: 0.84 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Duplicity: symmetric encryption with GnuPG, using given PASSPHRASE to create the symmetric cipher
  2. # If a full backup hasn't been made in the last 30 days, create a new backup set starting with a full backup
  3. # --full-if-older-than 30D : If a full backup hasn't been made in the last 30 days, create a new backup set starting with a full backup
  4. # --volsize 250 : Create volumes with a size of 250 MB
  5. # /current_backups/mysecurefiles : The directory to encrypt and backup.
  6. # s3+http://my-backups/mysecurefiles : The Amazon S3 container ('my-backups') and directory ('mystuff') to place the encrypted backups in.
  7.  
  8. export AWS_ACCESS_KEY_ID=your_aws_access_key_id
  9. export AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
  10. export PASSPHRASE=secretpassphrase
  11.  
  12. duplicity --full-if-older-than 30D --volsize 250 /current_backups/mysecurefiles s3+http://my-backups/mystuff