That is very cool. I adapted it slightly to download to Dropbox instead - using
the dropbox gem - and now I get a backup locally as well as in the cloud.
I removed the S3 lines and used the following instead: (obviously adding the
DROPBOX ENV vars to Heroku first)
d = DropBox.new(ENV["DROPBOX_USER"], ENV["DROPBOX_PWD"])
d.create("tmp/#{name}", "/#{ENV["APP_NAME"]}/cron_backup/")
Thanks for the inspiration to finally sort out backing up my app properly!
Andy
On 15 Apr 2010, at 05:52, Trevor Turk wrote:
> I'm not too thrilled with the current backup options Heroku is
> offering, but I had to do something. So, I wrote up an article that
> shows how I'm enabling automatic nightly PostgreSQL database backups
> from Heroku to Amazon S3.
>
> http://almosteffortless.com/2010/04/14/automated-heroku-backups/
>
> Feedback is more than welcome. Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.