不同库之间表的数据同步(备份或恢复)

版权声明: https://blog.csdn.net/qq_32157851/article/details/82776562

pg_dump -h host -d dbname -U user -t table1 -t table2 | psql -h 目标host -d 目标dbname -U 目标user

猜你喜欢

转载自blog.csdn.net/qq_32157851/article/details/82776562