Created
October 3, 2017 18:55
-
-
Save ismarsantos/64665a539e70878c32527b5390d22e05 to your computer and use it in GitHub Desktop.
restore postgres database command pg_restore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg_restore --verbose --clean --no-acl --no-owner --host localhost --port 5432 --username "postgres" --dbname "DB_NAME" --role "ROLE_NAME" --no-password --verbose latest.dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
up