Dec 10 2007

rubyworks-ec2 0.1.3

New in version 0.1.3 of rubyworks-ec2:

Added db:list_backups task for displaying a list of all S3 MySQL backups.

The db:restore task now accepts an optional VERSION argument for restoring the instance's database to the specified revision. If VERSION is omitted the task defaults to the latest backup found on S3. For example:

cap db:list_backsups

mysql-backup-1197246181
mysql-backup-1197318602
mysql-backup-1197318629
mysql-backup-1197318764

cap db:restore VERSION=1197318629

Fixed a bug on the image:backup task. Thanks to Nick Kallen for noticing and reporting this.

The following needs to be set in deploy.rb in order for the image:backup task to work properly:

set :bucket, "name-the-bucket-that-will-hold-the-image"