Heroku pg: push could not be written to the output file: Invalid argument

I am trying to push my local database to a hero, but it does not seem to work on this path. Any idea what I can do wrong? Here is the stack trace:

>> 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:
+3
source share
2 answers

This is a known issue in Windows 7. Unfortunately, there is no solution. But there is work around:

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

+1
source

I assume that you do not have free disk space to store your backup.

-1
source

All Articles