pgsql 命令行备份 备份 pg_dump -h 127.0.0.1 -p 5432 -U postgres -Fc agcim > D:\agcim.dmp 还原 pg_restore -h 127.0.0.1 -p 5432 -U postgres -d agcim < D:\agcim.dmp