postgreSQL如何用存储或者sql语言进行备份

postgreSQL怎么用存储或者sql语言进行备份

求告知



pg_dump -U username -p 5432 -h localhost dbname -Ft -f ‘/路径/’,不明白了可以pg_dump –help查看命令。




pg_dump –inserts -h locaLhost -U123 TMP>r:\temp\123.sql

or

pg_dump -U postgres -f dump.sql mydatabase




用pg_dump 命令工具就可以了。

postgreSQL如何用存储或者sql语言进行备份

相关文章:

你感兴趣的文章:

标签云: