I have 2 heroku apps. myapp and myapp-sandbox both are branches of the same repository and have pretty much identical code-bases. I currently have the addon pgbackups doing a daily backup of myapp which is the live production site. After this backup is made I'd like to automatically reset the database on myapp-sandbox and restore the backup of myapp instead. As you've probably guessed, myapp-sandbox just provides a development sandbox for myapp and its api.
Any help much appreciated.