私はエラーHerokuのDBの展開
! An error occurred and the backup did not finish.
!
! pg_restore: [archiver] did not find magic string in file header
! pg_restore finished with errors
! waiting for download to complete
! download finished with errors
! please check the source URL and ensure it is publicly accessible
!
! Run heroku pg:backups:info r006 for more details.
を受け、時には誤りがある私の最初のHerokuの展開を試みることだし、トラブル
heroku pg:backups:restore "https://s3.us-east-2.amazonaws.com/myusername/POSTGRESQL.dump"
DATABASE_URL --app MyAppName
を持っています:
Starting restore of https://s3.us-east-2.amazonaws.com/talXXXXXXXX to postgresql-XXXXXXXXX... done
Use Ctrl-C at any time to stop monitoring progress; the ba
Use heroku pg:backups to check progress.
Stop a running restore with heroku pg:backups:cancel.
Restoring... !
! An error occurred and the backup did not finish.
!
! waiting for restore to complete
! pg_restore finished with errors
! waiting for download to complete
! download finished with errors
! please check the source URL and ensure it is publicl
!
! Run heroku pg:backups:info r015 for more details.
私はさまざまなブラウザから、URLが公開されており、ファイルをダウンロードできることを確認しました。私はWindowsの推奨URLとして二重引用符を使用していますが、何が間違っていますか?彼らはそれがhttps://devcenter.heroku.com/articles/heroku-postgres-import-export#import
で行うことができます宣伝として
URLを無効なものに変更すると、同じエラーが発生します。だから、公衆のアクセシビリティが問題であるように、URLを適切に解析していない可能性があります。 – talkingtoaj