Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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 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                        |
  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


pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group