This commit is contained in:
2023-06-04 15:59:11 +08:00
parent f1bf1661a8
commit 98b3779e63
7 changed files with 1282 additions and 16 deletions

View File

@ -637,7 +637,15 @@ psql -Uicctestedb -dicctestedb -h192.168.53.123 -f ~/
# -O 不设置表归属,
# -F c 自定义压缩
# -v 显示详情
./pg_dump -Uenterprisedb -diccedb -h192.168.53.118 -O -v -F c -f ~/diccedb_202207_29.data.sql
./pg_dump -Uenterprisedb -diccedb -h192.168.53.118 -O -v -F c -f ~/alg.da
```
#### 数据导入
```shell
#导入数据
#-c 指定恢复过程中清空目标数据库中的现有表
@ -655,10 +663,6 @@ psql -Uicctestedb -dicctestedb -h192.168.53.123 -f ~/
#### COPY 导出导出部分数据
```sh