Re: Out of space making backup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Farhan Malik <malikpiano(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Out of space making backup
Date: 2009-12-25 16:23:52
Message-ID: 4812.1261758232@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Farhan Malik <malikpiano(at)gmail(dot)com> writes:
> When making a backup of my database I run out of space. I tell it to
> put the backup file on my K: drive, which has tons of free space, but
> during the backup postgresql creates a temporary folder on my C: Drive
> where it initially writes data. I don't have enough space on my C:
> drive for all the data and so I get an out of space error. Is there a
> way to have postgre use one my drives with lots of free space for the
> temporary folder? I'm using version 8.3.9-1.

Reading between the lines, I suspect you are trying to use 'tar' output
format, which does have a need to make temp files that can be large.
If I guessed right, I'd suggest using 'custom' format instead. There
really is no advantage to tar format, and several disadvantages besides
this one.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Farhan Malik 2009-12-25 16:35:01 Re: Out of space making backup
Previous Message Tom Lane 2009-12-25 16:20:25 Re: Why grantor is owner in this case?