备份
C:\PostgreSQL\11\bin>pg_dump -h localhost -p 5432 -U postgres Mes > d:/1.bak
恢复
C:\PostgreSQL\11\bin>psql -h localhost -p 5433 -U postgres -d Mes < d:/1.bak
备份
C:\PostgreSQL\11\bin>pg_dump -h localhost -p 5432 -U postgres Mes > d:/1.bak
恢复
C:\PostgreSQL\11\bin>psql -h localhost -p 5433 -U postgres -d Mes < d:/1.bak