X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B919E528CE for ; Sat, 25 Jun 2005 19:36:46 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90899-10 for ; Sat, 25 Jun 2005 22:36:40 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 202235286D for ; Sat, 25 Jun 2005 19:36:37 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j5PMafD19325; Sat, 25 Jun 2005 18:36:41 -0400 (EDT) From: Bruce Momjian Message-Id: <200506252236.j5PMafD19325@candle.pha.pa.us> Subject: Re: restoring wal archive and pg_xlog dir In-Reply-To: To: Jeff Frost Date: Sat, 25 Jun 2005 18:36:41 -0400 (EDT) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/219 X-Sequence-Number: 17974 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