Re: Postgres Admin - Export Database

From: Greg Spiegelberg <gspiegelberg(at)cranel(dot)com>
To: JinNet Picker <netpicker9(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres Admin - Export Database
Date: 2004-04-13 16:33:05
Message-ID: 407C1641.2070800@cranel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

JinNet Picker wrote:
> Hi,
>
> I am trying to take Database backup. I use this
> command.
>
> # ./pg_dump -U username -cif filename.sql dbname
>
> Its exporting, but in the Log, its giving like
>
> "LOG: out of file descriptors: Too many open files;
> release and retry"
>
> Can anybody tell me what is this? And what i have to
> do clear this out??

Try the pg_dump option "-F t". It will create a single tar file
that pg_restore can use.

./pg_dump -U username -ci -F t -f filename.tar dbname

Greg

--
Greg Spiegelberg
Product Development Manager
Cranel, Incorporated.
Phone: 614.318.4314
Fax: 614.431.8388
Email: gspiegelberg(at)cranel(dot)com
Technology. Integrity. Focus. V-Solve!

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-04-13 17:16:29 Re: Postgres Admin - Export Database
Previous Message scott.marlowe 2004-04-13 15:33:51 Re: varchar to text