title: Heroku download pg:backups how to
body: <p>I know there are similar questions but the old Heroku's pg:backups addon has been deprecated.</p>
  
  <p>So, following the new docs, I get a public URL that expires after ten minutes after this command:</p>
  
  <pre><code>heroku pg:backups public-url backupnumber --app appname
  </code></pre>
  
  <p>What do I do with the public-url? I can't find a comprehensible tutorial online that helps me download the dump file and populate a local database.</p>
  
  <p>I'm using Ubuntu 14 and Postgresql. Thanks for your help.</p>