PostGresql 备份和还原 备份恢复 备份 pg_dump -h hostname -U username dbname > localpath/db.bak 导出 恢复 psql -h hostname -U username -d dbname < localpath/db.bak 导入