pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Corey W. Gibbs <cgibbs@westmarkproducts.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: pg_dump max file size exceeded
Date: Wed, 20 Mar 2002 08:35:21 -0800
Message-ID: <01C1CFEA.2D279430.cgibbs@westmarkproducts.com> (raw)

Hidey hidey hidey hi,

Have you tried piping the output to gzip then to another file? So
pg_dump -c --verbose database | gzip > /foo/bar.gzip?

I also use ftpbackup to move the gzip file to another server that has a ton 
o diskspace and large file support.  Here's a line from teh script

pg_dump CES | gzip | /usr/local/bin/ftpbackup -h bessie -u foo -p bar -b 
/lboxbak/$MONTH$DAY.CES.gz

$MONTH and $DAY are set earlier in the script.
hope this helps
~corey

-----Original Message-----
From:	Naomi Walker [SMTP:nwalker@eldocomp.com]
Sent:	Wednesday, March 20, 2002 7:46 AM
To:	Tom Lane; Fred Moyer
Cc:	pgsql-admin@postgresql.org
Subject:	Re: [ADMIN] pg_dump max file size exceeded

At 12:15 AM 3/20/02 -0500, Tom Lane wrote:
>"Fred Moyer" <fred@digicamp.com> writes:
> > ran time pg_dump -c --verbose database > datafile.psql from the command 
> line
> > and got a file size limit exceeded.  datafile.psql stopped at 2 gigs. 
 any
> > ideas how to exceed that limit?
>
> > redhat 7.2, 2.4.9-31 kernel
>
>[ scratches head... ]  If you were on Solaris or HPUX I'd tell you to
>recompile with 64-bit file offset support enabled.  But I kinda thought
>this was standard equipment on recent Linux versions.  Anyone know the
>magic incantation for large-file support on Linux?

depending on the shell being used, i'd try limit or ulimit

We've seen a case where large file support had to be tweaked in the Veritas 
file systems as well.

--
Naomi Walker
Chief Information Officer
Eldorado Computing, Inc.
602-604-3100  ext 242


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)




view thread (9+ messages)  latest in thread

Message-ID: <01C1CFEA.2D279430.cgibbs@westmarkproducts.com>
Permalink:  ../01C1CFEA.2D279430.cgibbs@westmarkproducts.com/
Also on:    postgresql.org/message-id/01C1CFEA.2D279430.cgibbs@westmarkproducts.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cgibbs@westmarkproducts.com
  Subject: Re: pg_dump max file size exceeded
  In-Reply-To: <01C1CFEA.2D279430.cgibbs@westmarkproducts.com>
  References: <01C1CFEA.2D279430.cgibbs@westmarkproducts.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox