📜  在 postgres 12 中加载转储 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:43.258000             🧑  作者: Mango

代码示例1
# 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