Kept getting
DATABASE_URL does not match any of your databases
! Could not resolve database DATABASE
!
! Available databases:
when I try to transfer from production to my staging
pgbackups:capture –app myapp
pgbackups:restore DATABASE
heroku pgbackups:url --app myapp–app myapp-staging
From http://devcenter.heroku.com/articles/pgbackups#transfers
The back ticks are important! Are you using the correct application name passed into –app?