How to backup to s3 as rsync

amazon s3

I want to backup my server to s3, but I don't want to upload the entire container every time.

Right now I use s3cmd put –recursive, but that uploads everything, and I don't want to waste space and put calls.

What I want to do is to upload all files to s3, and then use s3cmd to put files as rsync would, to upload only updated files.

  1. What command should I use
  2. What permissions do I have to give?

Best Answer

All answers from Vladimir Mukhin are valid. There is however a tool that can help for 1/ it is called Duplicity. It takes S3 as a target for backup and does incremental backups. http://duplicity.nongnu.org/duplicity.1.html

If you find Duplicity too complex, Duply is a simpler angle to it.

Related Topic