Re: pg_restore to log file

From: akp geek <akpgeek(at)gmail(dot)com>
To: Thom Brown <thombrown(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_restore to log file
Date: 2010-05-18 16:11:02
Message-ID: AANLkTimoIV5y2_EFobgODkhdD1WC7PyUXFd9OoXh_hVS@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

pg_restore -h 10.xx.xx.xxx -d dbName -n schemaName -v -U postgres
testDB_20100414.txt -f outputifile

I got the following error "pg_restore: options -d/--dbname and -f/--file
cannot be used together"

Regards

On Tue, May 18, 2010 at 12:07 PM, Thom Brown <thombrown(at)gmail(dot)com> wrote:

> On 18 May 2010 17:03, akp geek <akpgeek(at)gmail(dot)com> wrote:
> > Hi All -
> > Is there a way to direct the message generated during
> > pg_restore to a log file?
> > Regards
> >
>
> I think you can use "-f outputfile".
>
> Regards
>
> Thom
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2010-05-18 16:15:09 Re: pg_restore to log file
Previous Message Thom Brown 2010-05-18 16:07:05 Re: pg_restore to log file