И как мне восстановить из моего дампа обратно в db?
Как вы делаете mysqldump в postgresql?
Ответ 1
Вы должны взглянуть на команды pg_restore и pg_dump.
pg_dump - extract a PostgreSQL database into a script file or other archive file.
pg_restore - restore a PostgreSQL database from an archive file created by pg_dump.
Ответ 2
Посмотрите pg_dump(1)
и pg_restore(1)
.