From: | Douglas Toltzman <doug(at)oakstreetsoftware(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: backup database by pg_dump |
Date: | 2006-05-12 15:03:36 |
Message-ID: | 9B1B6E33-57B2-4A57-AD02-E24B0B4953F3@oakstreetsoftware.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Are you sure your working directory is what you think it is? You may
want to specify a full path for the output, and see if that works. I
suspect your working directory is not set correctly.
On May 12, 2006, at 3:11 AM, Thanh Thao Nguyen wrote:
> Can you help me?
>
> To back up database, I use pg_dump command as normal in command prompt
>
> 1. C:\Program Files\PostgreSQL\8.1\bin\pg_dump -h 192.168.77.117 -p
> 5432 -U quangvu -C BENET2 > a.sql
>
> or
>
> 2. C:\Program Files\PostgreSQL\8.1\bin\pg_dump -h 192.168.77.117 -p
> 5432 -U quangvu -C -f aaa.zzz BENET2
>
> -----> It's OK
>
> But, now i want to use in VBNET code, so I try:
>
> Dim str As String = "C:\Program Files\PostgreSQL\8.1\bin\pg_dump"
> Dim para As String = " -h 192.168.77.117 -p 5432 -U quangvu -C
> BENET2 > a.sql "
>
> Process.Start(str, para)
>
> It run but I can't see the result in my directory? What wrong?
>
> Thanks
>
> Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for
> just 2¢/min with Yahoo! Messenger with Voice.
Douglas Toltzman
doug(at)oakstreetsoftware(dot)com
(910) 526-5938
From | Date | Subject | |
---|---|---|---|
Next Message | Paul Forgey | 2006-05-12 21:12:03 | BUG #2436: cannot --enable-thread-safety on -lpthread host |
Previous Message | Dario Basso Cardoso | 2006-05-12 14:40:28 | Re: possible bug in SELECT with UNION |