我正在尝试将我的本地数据库推送到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:发布于 2017-11-25 12:42:42
这是Windows7上的一个已知问题。不幸的是,目前还没有解决方案。但是有一个变通的方法:
https://devcenter.heroku.com/articles/heroku-postgres-import-export
发布于 2017-02-22 22:15:47
我的猜测是你没有空闲的磁盘空间来存储你的备份。
https://stackoverflow.com/questions/21773097
复制相似问题