Permalink
Browse files

Added msising restore task

  • Loading branch information...
xaviershay committed Mar 8, 2009
1 parent d73b244 commit a6bdc309a57d16af799c2e401e16a3cc90a31f0b
Showing with 6 additions and 1 deletion.
  1. +1 −1 db2s3.gemspec
  2. +5 −0 tasks/tasks.rake
View
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{db2s3}
- s.version = "0.2.1"
+ s.version = "0.2.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Xavier Shay"]
View
@@ -4,6 +4,11 @@ namespace :db2s3 do
task :full => :environment do
DB2S3.new.full_backup
end
+
+ desc "Restore your DB from S3"
+ task :restore => :environment do
+ DB2S3.new.restore
+ end
end
desc "Provide estimated costs for backing up your DB to S3"

0 comments on commit a6bdc30

Please sign in to comment.