In article <m2hdd884v6.fsf@west_f1.net>,
Mike Ballard <dont_w@nt_spam.org> wrote:
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
--
I never mix databases between operating systems. I have found in most
projects, it is very rare for branches of code that are OS dependent to
be up to date concurrently.
I would have a database for XP and a database for Linux.
--
Available for Hire!
http://amduus.com/Resumes/