A series of tools I wrote for working with Heroku day to day. Added pg_dump version ignore, and require aws-s3 statement to rake task.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead, 4 commits behind perezd:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README
backup.rake

README

Derek's Heroku Tools!

Whats here?

- backup.rake - Really simple backup rake task that extracts raw postgresql dumps and can send them to S3 for you! Works great with Heroku cron!

Setup:
1) replace APP_NAME and BACKUP_BUCKET with your info
2) heroku config:add S3_KEY=YOURKEY S3_SECRET=YOURSECRET
3) add aws-s3 to your .gems

Usage:
  heroku rake backups:backup

  * or add this to your cron.rake for hourly or nightly backups (ie, lib/tasks/cron.rake):
  Rake::Task['backups:backup'].invoke