可以用命令操作
pg_dump -U postgres -h hostip -d joint-boot -Fc > "D:\\python\\Project\\PG\\data\\joint.jar"
可以在其它postgis数据库中创建
pg_restore -U postgres -h hostip -d C -Fc -C "D:\\python\\Project\\PG\\data\\joint.jar"