Skip to content
bigfleet edited this page Sep 12, 2010 · 9 revisions

We’re in the alpha stage right now, but I have successfully used four types of source and one type of sink using material currently available in the repository.

The gem has been released on Rubyforge.

Get blanket

sudo gem install blanket

Do a configuration

blanket-cfg -t taskname -o Mysql -i S3

this will create a directory named with two YAML config files inside.

blanket-cfg -h
will give you more details.

SourcesAndSinks has more information about what can be backed up an how.

Edit the configuration to make it right.

You’ll have to provide your details on the source.yml and sink.yml files. Note that right now there is only good support for having your local backup path being inside the task directory.

Run blanket

blanket taskname

taskname will be the directory that the YAML files are in.

This command should run through a set of steps that will look somewhat familiar if you have used Capistrano.

You’re done!

The result will be your prepared file downloaded to the client filesystem and copied to the remote sink. Since S3 is the only sink right now, it’ll be in a bucket of your choosing. Set up a cron job if you like.

Thanks! Let me know at [email protected] if you have any feedback.

Clone this wiki locally