你如何在postgresql中做mysqldump?

时间:2009-02-17 16:08:53

标签: postgresql

如何从我的转储恢复到数据库?

2 个答案:

答案 0 :(得分:20)

你应该看一下pg_restore和pg_dump命令。

pg_dump - extract a PostgreSQL database into a script file or other archive file.

pg_restore - restore a PostgreSQL database from an archive file created by pg_dump.

答案 1 :(得分:5)

请查看pg_dump(1)pg_restore(1)