postgres 备份数据库

https://www.postgresql.org/docs/9.1/static/app-pgdump.html

bash-4.2$ pg_dump -Fc xianlan_prod > /tmp/myda.dump   -----------(要保存的文件)

原文地址:https://www.cnblogs.com/Amos-Turing/p/8022789.html