This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
db2s3 /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Nov 06 20:54:03 -0800 2009 | |
| |
HISTORY | Sun Dec 06 13:00:39 -0800 2009 | |
| |
README | Sun Dec 06 01:37:46 -0800 2009 | |
| |
Rakefile | Fri Nov 06 20:54:03 -0800 2009 | |
| |
VERSION | Sun Dec 06 13:00:39 -0800 2009 | |
| |
init.rb | Sat Mar 07 16:10:39 -0800 2009 | |
| |
lib/ | Sun Dec 06 13:08:29 -0800 2009 | |
| |
rails/ | Sat Mar 07 17:46:50 -0800 2009 | |
| |
spec/ | Sat Dec 05 23:48:05 -0800 2009 | |
| |
tasks/ | Sun Dec 06 13:00:01 -0800 2009 |
README
DB2S3 - A rails plugin to backup Mysql to Amazon S3 --------------------------------------------------- You're looking at a monthly spend of four cents So pony up you cheap bastard, and store your backups on S3 Usage: # In config/environment.rb config.gem "db2s3", :source => "http://gemcutter.org" # In Rakefile require 'db2s3/tasks' # In config/initializers/db2s3.rb DB2S3::Config.instance_eval do S3 = { :access_key_id => 'yourkey', :secret_access_key => 'yoursecretkey', :bucket => 'yourapp-db-backup' } end # DB credentials are read from your rails environment rake gems:install # Add to your crontab or whatever rake db2s3:backup:full rake db2s3:backup:incremental # Unimplemented # Handy tasks rake db2s3:statistics # Shows you the size of your DB rake db2s3:backup:restore # You should be testing this regularly rake db2s3:backup:clear # Clean up old backups - cron this Kudos: http://github.com/pauldowman/blog_code_examples/tree/master/mysql_s3_backup








