blog:create_encrypted_tar_files
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
blog:create_encrypted_tar_files [2010-05-26 10:28] – brb | blog:create_encrypted_tar_files [2010-05-26 10:28] – brb | ||
---|---|---|---|
Line 38: | Line 38: | ||
Finally, upload the created archive to the created bucket: | Finally, upload the created archive to the created bucket: | ||
- | | + | < |
+ | aws put BUCKET/ | ||
+ | </ | ||
The best part is that you don't have to do this manually every time you want to back up a certain directory. Here is a sample script that backs up photos stored on the local hard disk: | The best part is that you don't have to do this manually every time you want to back up a certain directory. Here is a sample script that backs up photos stored on the local hard disk: | ||
< | < | ||
- | | + | tar -zcf – todays_backup|openssl enc -aes-256-cbc -salt -pass pass: |
- | aws put BUCKET/ | + | aws put BUCKET/ |
</ | </ | ||
blog/create_encrypted_tar_files.txt · Last modified: 2010-05-26 10:31 by brb