pg_restore的使用

 # https://blog.csdn.net/qq_31156277/article/details/90374872

pg_dump -h localhost -p 5432 -U zt -F c -b -v -f /home/deployer/backup/itom2 itom

pg_restore -h localhost -p 5432 -U zt -W -d itom -v D:/pg_bak/itom2

posted @ 2020-08-15 07:53  huanglei2010  阅读(480)  评论(0编辑  收藏  举报