News for hackers. Stuff that matters.
Re:Downloading Large Heroku Postgres Backups by themgt on Friday November 15, 2019 @05:17AM (#21543735)
This is way overcomplicated. All you actually have to do to grab your latest scheduled Postgres DB dump is run:

  curl -o latest.dump `heroku pg:backups public-url -a [app]`
(and then pg_restore)
Re:Downloading Large Heroku Postgres Backups by haffla on Friday November 15, 2019 @06:08AM (#21543937)
or just `heroku pg:backups:download -a [app]` :)
Re:Downloading Large Heroku Postgres Backups by mjw1007 on Friday November 15, 2019 @06:06AM (#21543926)
Hm, is the secrecy of that URL the only thing stopping someone else downloading the backup?
Re:Downloading Large Heroku Postgres Backups by haffla on Friday November 15, 2019 @06:16AM (#21543972)
It looks like this https://xfrtu.s3.amazonaws.com/29577c2f-fd6c-4794-b7c5-4390u...

I believe it expires after 1 hour (X-Amz-Expires=3600).

Re:Downloading Large Heroku Postgres Backups by SnowingXIV on Friday November 15, 2019 @08:43AM (#21544654)
No, you'd have to be logged in with the CLI as a heroku user that has privileges to said database.