重庆思庄Oracle、Redhat认证学习论坛
标题:
PG只导某一个库的元信息
[打印本页]
作者:
郑全
时间:
3 天前
标题:
PG只导某一个库的元信息
pg_dumpall --exclude-database='template[01]' --exclude-database=postgres ... -f xx.sql
把其他库都排除,留下要导出的数据库即可。
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/)
Powered by Discuz! X3.2