【发布时间】:2014-04-22 12:00:54
【问题描述】:
我是 ubuntu 环境的新手,我想创建一个数据库的转储文件。谁能帮我在ubuntu系统上获取postgres转储文件
【问题讨论】:
标签: ubuntu-12.04 postgresql-9.1
我是 ubuntu 环境的新手,我想创建一个数据库的转储文件。谁能帮我在ubuntu系统上获取postgres转储文件
【问题讨论】:
标签: ubuntu-12.04 postgresql-9.1
你可以使用
/usr/bin/pg_dumpall --host {yourhost} --port {port} --username "{username}" --database "{dbname}" --no-password --verbose --file "backup .sql"
【讨论】: