Search Postgresql Archives

Re: pg_restore to log file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:
On 18 May 2010 17:03, akp geek <akpgeek@xxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux