DEV Community

gie3d
gie3d

Posted on

Back up & restore postgres

Back up
pg_dump -F c testdb > testdb.dump

Restore
pg_restore -d testdb testdb.dump

Top comments (0)