title: Heroku auto restore
body: <p>I need to implement an automatic trasfer of daily backups from one DB to another DB. Both DB's and apps are hosted on heroku. 
  I know this is possible if to do it manually from local machine with the command:</p>
  
  <pre><code>heroku pgbackups:restore DATABASE `heroku pgbackups:url --app production-app` --app staging-app
  </code></pre>
  
  <p>But this process should be automated and run not from local machine. 
  I have an idea to write a rake which will execute this command; and run this rake daily with the help of Heroku Scheduler add-on. </p>
  
  <p>Any ideas how it is better to do this? Or maybe there is a better way for this task?</p>
  
  <p>Thanks in advance.</p>