Heroku_backup is a project mainly written in Ruby, based on the GPL-3.0 license.
Heroku plugin that automates backing up bundles to S3
NOTE:: Heroku has ceased to support the bundles functionality that powered this plugin. Any apps created after 11/30/10 will not have access to the Bundles add-on, and it will cease to function completely by 2/1/11. See http://blog.heroku.com/archives/2010/12/1/bundles-deprecation/ for more details.
= 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.
== Installation
If you haven't already, install hone's fabulous herocutter plugin:
$ heroku plugins:install git://github.com/hone/heroku_herocutter.git
After that, a simple
$ heroku plugins:install backup
will get you up and running.
== Setup
This plugin requires two environment variables:
AMAZON_ACCESS_KEY_ID
AMAZON_SECRET_ACCESS_KEY
You can also still use the old style - namely, using +config/amazon_s3.yml+ (the S3 config file used with the paperclip gem). Another option would be to store these keys on Heroku and retrieve them from there, allowing this plugin to work from any collaborator's machine. If you want to implement this, then fork fork fork it!
You'll also need to make sure that you've enabled the Single Bundle addon for your app:
$ heroku addons:add bundles:single
== Usage
From your project's root directory:
$ heroku backup
That'll make the magic happen.
== Note on Patches/Pull Requests
== ChangeLog
0.3 7/13/10
== Contributors
== Thanks
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
Copyright (c) 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.