标签: postgresql
如何从我的转储恢复到数据库?
答案 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)。
pg_dump(1)
pg_restore(1)