Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PostgreSQL database restore from backup [closed]

I'm trying to get a site up and running and have the .asp source files and a .backup of the PostgreSQL database.

I keep getting errors while trying to restore the Postgres backup: "Process returned exit code 0." I've already created a new db and added tables through the pgadmin GUI, I get the error when I right click on the empty table and select restore.

Anyone with Postgres experience available to help out, or point me in the direction of some specific documentation?

like image 868
Vinnie James Avatar asked Jun 16 '26 21:06

Vinnie James


1 Answers

Use the client application pg_restore to restore from an archive created by pg_dump in one of the non-plain-text formats.

like image 166
Erwin Brandstetter Avatar answered Jun 18 '26 20:06

Erwin Brandstetter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!