Thanks David, you rock! On Thu, Nov 18, 2010 at 10:18 AM, David Dollar <[email protected]> wrote:
> I threw this together to help out a bit automating your PGbackups. > > https://github.com/ddollar/heroku_backup_task > > On Nov 16, 2010, at 1:44 PM, Andrew C. wrote: > > > I spin up an EC2 instance from my cron job. The EC2 instance captures > > and downloads the backup to S3, then shuts itself down. Works well so > > far. Obviously, it's not free, but it's freaking cheap. > > > > On Nov 16, 10:24 am, Peter van Hardenberg <[email protected]> wrote: > >> On Tue, Nov 16, 2010 at 2:29 AM, Trevor Turk <[email protected]> > wrote: > >>> Are there plans to offer an automated solution? > >> > >> Definitely. > >> > >>> Is there a way to do this now? I've tried to put the Heroku gem into > >>> my Gemfile and then execute the command from the console, but that > >>> doesn't seem to work. I've been trying to think of other ways to run > >>> the pgbackups with the cron addon, but I haven't come up with anything > >>> yet. Any ideas would be most appreciated. > >> > >> Check out the --expire flag on pgbackups:capture. I'm not the expert on > the > >> subject, but with a bit of work you can probably find a way to use the > >> heroku gem from inside a heroku cron job. > >> > >> -pvh > > > > -- > > 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]<heroku%[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]<heroku%[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.
