This commit is contained in:
Paul Trowbridge 2022-04-20 23:57:19 -04:00
parent 83150289e6
commit 7b4c3665ce

View File

@ -1,3 +1,5 @@
[postgresql.org](https://www.postgresql.org/docs/current/app-pgrestore.html)
pg_restore has 2 modes. if you just feed it a backup file it produces sql that you woudl have to pipe to psql or a file to run. pg_restore has 2 modes. if you just feed it a backup file it produces sql that you woudl have to pipe to psql or a file to run.
If you specify -d it will actually connect and execute the restore commands. If you specify -d it will actually connect and execute the restore commands.