Not sure Heroku has changed since they were published last January, but when I launched
heroku pgbackups:restore DATABASE `heroku pgbackups:url --app myapp`
I kept getting the error I just said
"Backup not found"
Despite the fact that when I ran the command on its own to get the url:
heroku pgbackups:url --app myapp
and then tried the url in the browser, that url was correct.
So instead, I just tried sending the copied / pasted URL to the command, for example:
heroku pgbackups:restore DATABASE "http://urlgoeshere"
I had to use DOUBLE quotes around the URL, not SINGLE. Otherwise, I got this error:
Invalid file name, directory name, or volume name. "Expires" is not recognized as an internal or external command, operating program, or batch file. "Signature" is not recognized as an internal or external command, operating program or batch file.
Gayle source share