我正在尝试将本地 Postgresql 数据库导入 Heroku,我正在按照以下步骤操作https://devcenter.heroku.com/articles/heroku-postgres-import-export#import-to-heroku-postgres。
我已经成功:
heroku pg:backups:restore '<SIGNED URL>' DATABASE_URL
(添加 -a 与我的应用程序名称)。恢复备份的过程正确启动,但随后以以下代码退出:
! An error occurred and the backup did not finish.
!
! Could not initialize transfer
!
! Run heroku pg:backups:info r011 for more details.
Run Code Online (Sandbox Code Playgroud)
打开日志显示:
Database: BACKUP
Finished at: 2020-01-09 18:49:30 +0000
Status: Failed
Type: Manual
Backup Size: 0.00B (0% compression)
=== Backup Logs
2020-01-09 18:49:30 +0000 Could not initialize transfer
Run Code Online (Sandbox Code Playgroud)
我试过了:
postgresql heroku amazon-s3 amazon-web-services heroku-postgres