Skip to content

Instantly share code, notes, and snippets.

@ismarsantos
Created October 3, 2017 18:55
Show Gist options
  • Save ismarsantos/64665a539e70878c32527b5390d22e05 to your computer and use it in GitHub Desktop.
Save ismarsantos/64665a539e70878c32527b5390d22e05 to your computer and use it in GitHub Desktop.
restore postgres database command pg_restore
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
@ismarsantos
Copy link
Author

up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment