Postgresql 技巧

备份

pg_dump -f "F:/dump.sql"<file name> -U postgres<database name> -h 10.38.197.120<host name> -p 5432<host port> -O<without owner>

 

恢复

psql -f "F:/dump.sql"<file name> -U postgres<database name> -h <host name> -p 5432<host port>

Postgresql 技巧,布布扣,bubuko.com

Postgresql 技巧

上一篇:zabbix企业应用之从数据库提取centos 6.2系统在线天数


下一篇:[LeetCode] 1170. Compare Strings by Frequency of the Smallest Character 比较字符串最小字母出现频次