dump-restore.md 318 B

Dump

pg_dump manual

Run within the database container pg_dump -U <user> <database_name> > dump.sql

Restore

psql manual

Create database and run psql -U <user> <database_name> < dump.sql