Re: restoring wal archive and pg_xlog dir - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: restoring wal archive and pg_xlog dir
Date
Msg-id 200506252236.j5PMafD19325@candle.pha.pa.us
Whole thread Raw
In response to Re: restoring wal archive and pg_xlog dir  (Jeff Frost <jeff@frostconsultingllc.com>)
Responses Re: restoring wal archive and pg_xlog dir  (Jeff Frost <jeff@frostconsultingllc.com>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump -Fc does not dump indexes
Next
From: Jeff Frost
Date:
Subject: Re: restoring wal archive and pg_xlog dir