1
我試圖從使用下面的命令在本地數據庫的轉儲恢復的Heroku Postgres的數據庫:pgbackups錯誤:備份網址無效?
heroku pgbackups:restore HEROKU_POSTGRESQL_MAROON_URL 'https://s3-eu-west-1.amazonaws.com/my-app-data/test.dump' --app my-app
我看到這一點:
HEROKU_POSTGRESQL_MAROON_URL (DATABASE_URL) <---restore--- test.dump
! WARNING: Destructive Action
! This command will affect the app: smc-staging
! To proceed, type "my-app" or re-run this command with --confirm my-app
,並進入我的應用程序內後,我得到這個:
←[0KRetrieving... done
! An error occurred and your restore did not finish.
! The backup url is invalid. Use `pgbackups:url` to generate a new temporary URL.
我運行Windows 7,備份是使用pg_dumps拍攝,並上傳到S3,並heroku --version
讓我:
heroku/toolbelt/3.3.0 (i386-mingw32) ruby/1.9.3
請大家幫忙!
看起來無法訪問dmp文件OS S3。你可以公開訪問該文件嗎? – blotto
,似乎已經修復它 - 對不起S3新手! –