pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <decibel@decibel.org>
To: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump not enough space to create a backup FreeBSD 6.1?
Date: Wed, 16 May 2007 11:22:23 -0500
Message-ID: <20070516162223.GP14548@nasby.net> (raw)
In-Reply-To: <1179319005.13002.6.camel@panoramix>
References: <1179319005.13002.6.camel@panoramix>

On Wed, May 16, 2007 at 02:36:45PM +0200, Joost Kraaijeveld wrote:
> Hi,
> 
> Running pg_dump on a FreeBSD 6.1 machine gives me:
> 
> [root@s13.nedstars.nl:/data/even]# pg_dump -Ft -f ./my_db-2007-5-16.backup -U user my_db
> 
>  /tmp: write failed, filesystem is full
> pg_dump: [tar archiver] could not write to tar member (wrote 0,
> attempted 86)
> 
> pg_dump: *** aborted because of error
> 
> [root@s13.nedstars.nl:/data/even]# df -h
> 
> Filesystem       Size    Used   Avail Capacity  Mounted on
> /dev/aacd0s1g    125G    5.8G    109G     5%    /data
> /dev/aacd0s1e    484M     86K    445M     0%    /tmp
> 
> The database is, when dumped in text format and gzipped, 40 Mb, so I
> assume that there is enough space on the /tmp drive to store the temp
> files of the pg_dump.
> 
> Is that assumption OK? Can I somehow use another partition to store the
> temporaray files without changing my /tmp mount?

tar is what's creating the temp files, not pg_dump. AFAIK it obeys the
TEMP environment variable, so changing that should make things good.
-- 
Jim Nasby                                      decibel@decibel.org
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



view thread (4+ messages)  latest in thread

Message-ID: <20070516162223.GP14548@nasby.net>
Permalink:  ../20070516162223.GP14548@nasby.net/
Also on:    postgresql.org/message-id/20070516162223.GP14548@nasby.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: decibel@decibel.org, J.Kraaijeveld@Askesis.nl
  Subject: Re: pg_dump not enough space to create a backup FreeBSD 6.1?
  In-Reply-To: <20070516162223.GP14548@nasby.net>

* 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