load a dump in postgres 12 code example
Example: 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
# 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