4

我正在尝试将我的本地数据库推送到 heroku,但看起来它在此过程中失败了。知道我做错了什么吗?这是堆栈跟踪:

>> heroku pg:push my_db_name my_app_name::BROWN
Password:
pg_dump: reading schemas
pg_dump: reading user-defined tables
pg_dump: reading extensions
...
pg_dump: saving encoding = UTF8
pg_dump: saving standard_conforming_strings = on
pg_dump: saving database definition
pg_dump: [custom archiver] WARNING: ftell mismatch with expected position -- ftell used
pg_dump: dumping contents of table XXX
pg_dumpp: [gc_ursetsotmo raer:c h[iavrecrh]i ver] WARNdINGi:d  fntoetl lf imnids mmaatgcihc  wsittrhi negx pienc tfeidl ep ohseiatdieorn
-- ftell used
pg_dump: dumping contents of table XXX
pg_dump: [custom archiver] WARNING: ftell mismatch with expected position -- ftell used
pg_dump: dumping contents of table ZZZ
pg_dump: [custom archiver] could not write to output file: Invalid argument
Password:
4

2 回答 2

1

这是 Windows 7 上的一个已知问题。不幸的是,没有解决方案。但是有一个解决方法:

https://devcenter.heroku.com/articles/heroku-postgres-import-export

于 2017-11-25T04:42:41.743 回答
-1

我的猜测是你没有可用的磁盘空间来存储你的备份集。

于 2017-02-22T14:15:46.700 回答