Closed lastmjs closed 9 years ago
Ah yes you’re right, from the pg_restore
man:
pg_restore is a utility for restoring a PostgreSQL database from an archive created by pg_dump(1) in one of the non-plain-text formats
I will fix the help output. To restore a plain SQL file, I think this should work: dokku psql:console < ~/dump.sql
Updated in latest master :)
I tried dokku psql:console myapp < dump.sql but it didn't work. Nothing happens. I'm quite stuck now, I have now idea how I can restore my backup. Somebody can help?
@flamontagne this should be fixed in latest master
You're the best, thanks!
It says in the commands info for psql:restore
But not all formats exported by pg_dump are supported. I dumped to a sql script file, and this is what happens when I try to run psql:restore