Skip to main content

Restore

To restore the file /backups/PostgreSQL/MM.dmp into the repository database MM use the following command. All database objects and data are dropped before recreating them.
pg_restore -c -F t -d "MM" -h localhost -w -p 5432 -U MM --if-exists /backups/PostgreSQL/MM.dmp

You may refer to the PostgreSQL pg_dump and pg_restore documentation for more details on the above commands.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!