Wednesday, July 12, 2006

 
test it

Monday, March 27, 2006

 

Backup your files on S3

S3backup is a simple command line tool (for windows and linux) to backup your files on Amazon's S3 service. All you need to use it is a pair of access key's which you get when you signup to use the service.

Once you have those just plop them in the config.rb file (either in the same directory as s3backup or in your home dir) and you're good to go.

It's really rough right now, but it works.

Download:
- windows: http://s3.amazonaws.com/s3backup/s3backup.zip
- linux: http://s3.amazonaws.com/s3backup/s3backup.tar.gz

While you're at it why not DIGG it

Here's how to use it:

To incrementally backup c:\documents and settings\me\my documents\important code :

s3backup.exe backup --path "c:\documents and settings\me\my documents\important code" --virtual-directory "important code" --incremental

To restore that same directory to c:\important code restored :

s3backup.exe restore --path "c:\important code restored" --virtual-directory "important code"

You can use --incremental on a restore also if you only want to get files that don't match the version currently stored on S3, for example if you wanted to sync your files onto another computer.

When doing an incremental backup after you have deleted files from the directory you are backing up, the deleted files will be left on S3 but marked as deleted. When restoring you can get the deleted files as well by using --restore-deleted. And you can remove files marked as deleted from S3 with:
s3backup.exe clean --virtual-directory "virtual dir"

s3backup is written in ruby and executablized with erik veenstra's scripts

** Notes **

This page is powered by Blogger. Isn't yours?