Heroku Backup Command
Plugin that provides the backup command for the heroku gem. This allows you to automate the process of backing up bundles to S3.
$ heroku plugins:install email@example.com:saturnflyer/heroku_backup.git
This plugin requires two environment variables:
You can also still use the old style - namely, using config/s3.yml (the S3 config file used with the paperclip gem).
You'll also need to make sure that you've enabled the Single or Unlimited Bundle addon for your app:
$ heroku addons:add bundles:single
If you have the Unlimited bundles addon enabled, the Backup plugin will not destroy any of your bundles on Heroku.
From your project's root directory:
$ heroku backup
That'll make the magic happen.
Note on Patches/Pull Requests
Fork the project.
Make your feature addition or bug fix.
Send me a pull request. Bonus points for topic branches.
Jim Gay (saturnflyer)
Nathaniel Jones (nthj)
Tom Brown (herestomwiththeweather)
Special thanks goes out to hone for explaining the heroku plugin API to me, and for letting me gank the layout of his README.
Copyright © 2010 Matt Buck. See LICENSE for details.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.