heroku pg:push无法写入输出文件:参数无效

时间:2014-02-14 07:18:07

标签: heroku pg-dump

我正在尝试将我的本地数据库推送到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:

2 个答案:

答案 0 :(得分:1)

这是Windows 7上的已知问题。遗憾的是,没有解决方案。但是有一个工作:

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

答案 1 :(得分:-1)

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