Re: Postgres backup

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: pd <petedawn(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres backup
Date: 2006-10-02 16:03:08
Message-ID: 20061002160308.GD29699@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Oct 01, 2006 at 09:20:12PM -0700, pd wrote:
> guys,
>
> i have a java web app with a postgres backend. now i want to implement
> a db database functionality from within my web app. now i have got
> this so far,
>
> String[] args = {"\"C:\\Program
> Files\\PostgreSQL\\8.1\\bin\\pg_dump\"", " -i", " -h", " localhost", "
> -p", " 5432", " -U", " postgres", " -F", " t", " -b", " -v", " -f", "
> \"C:\\Test.backup\"", " TESTDB"};

Do you really have space in those strings? Because that's not going to
work.

Secondly, work out where your STDERR is going, because any error
messages from pg_dump will have gone there...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Anibal David Acosta F. 2006-10-02 16:15:45 Re: using float4, I get incorrect value when select
Previous Message Martijn van Oosterhout 2006-10-02 16:01:16 Re: using float4, I get incorrect value when select