To debug, try just doing heroku pgbackups:url -a source-app
and entering that URL in your browser. This command should download and install into your local Postgres database db
:
curl `heroku pgbackups:url -a source-app` | pg_restore --verbose --no-acl --no-owner -h localhost -U postgres -d db -n public"