Shell/Bash: load a dump in postgres 12 Example

By

Shell/Bash Example: This is the "load a dump in postgres 12" Example. compiled from many sources on the internet by SimpleTutorials.org

load a dump in postgres 12

# To reload the dump in the database newdb. 
pg_restore -d newdb mydumpfile
# To reload the dump in a created db.
psql -Umyuser mydatabase < mydumpfile


* Summary: This "load a dump in postgres 12" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others