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: 200506252236.j5PMafD19325@candle.pha.pa.us (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group