pg_dump -h localhost -p 51510 OS > "....sql"

psql -h localhost -p 51510 OS < "....sql"

psql -h localhost -p 51510 OS < "C:\Users\ayrong\خر\OS.sql"
pg_restore -U ayrong -d OS -1 "C:\Users\ayrong\خر\OS.sql"



pg_dump -h localhost -p 5432 dataserver > "D:\dataserver.sql"

psql -h localhost -p 5432 testDataServer < "D:\dataserver.sql"