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 4662753A93 for ; Fri, 15 Apr 2005 07:05:03 -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 43197-05 for ; Fri, 15 Apr 2005 10:04:58 +0000 (GMT) Received: from mercure-1.sigma.fr (mercure-1.sigma.fr [195.25.81.8]) by svr1.postgresql.org (Postfix) with ESMTP id A3EEE5354D for ; Fri, 15 Apr 2005 07:04:57 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mercure-1.sigma.fr (Postfix) with ESMTP id AB0391D4 for ; Fri, 15 Apr 2005 12:04:58 +0200 (CEST) Received: from mercure-1.sigma.fr ([127.0.0.1]) by localhost (mercure-1 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00909-01 for ; Fri, 15 Apr 2005 12:04:58 +0200 (CEST) Received: from marc.sigma.fr (unknown [89.195.0.5]) by mercure-1.sigma.fr (Postfix) with ESMTP id 773FC193 for ; Fri, 15 Apr 2005 12:04:58 +0200 (CEST) From: Marc Cousin Organization: Sigma Informatique To: pgsql-admin Subject: Online backups and WAL Date: Fri, 15 Apr 2005 12:04:57 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200504151204.57408.mcousin@sigma.fr> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at sigma.fr X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/200 X-Sequence-Number: 17213 Hi, I'm currently testing online backups, and I'm facing the problem of a missing WAL when I do the backup : the current WAL isn't archived when I save the archives, and is required to recover... I've read in the mailing list archives that it can be solved by copying the current WAL from pg_xlog. Even if this solution works, it looks to me to be more of a workaround than anything else, and adds some complexity to an operation that is allready not that simple. I'd like to know if there is a way to force the switch from a WAL to the next one, like with an 'alter system archive log current' in Oracle. Cheers. Marc Cousin