Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group