![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I run an xp program in vmware that uses a postgresql db. I want to back up this db from linux. The cmd I was given to backup the db from within xp is: pg_dump.exe -i -h <server> -p <port> -U <user> -F c -v -f <filename> <DB Name If xp/vwmare is not running and I mount the disc the xp postgresql data is on and do: /bin/su - mike -c "/usr/bin/postmaster -D /mnt/win_d/Program\ Files/PostgreSQL/8.0/data" so that the linux postgresql is pointing to the xp data, what do I use for "-h <server>" and "-p <port>" in the pg_dump cmd? Mike -- |
![]() |
| Thread Tools | |
| Display Modes | |
| |