Re: restoring wal archive and pg_xlog dir

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: restoring wal archive and pg_xlog dir
Date: 2005-06-25 22:36:41
Message-ID: 200506252236.j5PMafD19325@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jeff Frost wrote:
> On Thu, 23 Jun 2005, Jeff Frost wrote:
>
> > I guess I forgot to ask one other question. If the archived wal files are
> > streamed in one by one, would it still be safe to leave the pg_xlog directory
> > intact in the base backup? What would happen with the out of date log files?
> > Would they just stay in place or would the postmaster eventually recycle them
> > after the restore was complete?
>
> And here's one other question..is it safe to ignore the: pgsql_tmp directories
> when doing the base backup?

Yes, those are used only by running backups, but they should have little
disk space in them.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Frost 2005-06-25 22:50:33 Re: restoring wal archive and pg_xlog dir
Previous Message Tom Lane 2005-06-25 21:36:27 Re: pg_dump -Fc does not dump indexes