X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 670F1D9A94 for ; Wed, 28 Sep 2005 13:12:34 -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 35593-08 for ; Wed, 28 Sep 2005 16:12:29 +0000 (GMT) Received: from exchange.corp.digonex.com (dsl093-203-229.ind1.dsl.speakeasy.net [66.93.203.229]) by svr1.postgresql.org (Postfix) with ESMTP id 836F7D9A91 for ; Wed, 28 Sep 2005 13:12:26 -0300 (ADT) Received: from [10.0.1.102] ([10.0.1.102]) by exchange.corp.digonex.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 28 Sep 2005 11:16:22 -0500 Message-ID: <433AC059.1050300@musicrebellion.com> Date: Wed, 28 Sep 2005 11:10:01 -0500 From: Kris Kiger User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: archive_command References: <20031115132118.V74587@holywar.net> In-Reply-To: <20031115132118.V74587@holywar.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Sep 2005 16:16:22.0018 (UTC) FILETIME=[F7458E20:01C5C447] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 required=5 tests=[FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/304 X-Sequence-Number: 19041 I've been playing around with recovery and am a bit confused as to when this method gets invoked. At the moment, I have two servers set up, both of them with postgres installed. Lets call them server A and server B. Server A is running postgres and processing transactions. Server B has postgres installed, but the postmaster is not running. My archive_command is set to use rsync copy the wal log from server A to server B. When i'm watching the number of wal files on server A I notice sometimes there are 3 files that have not been archived, sometimes there are 4, and sometimes there are more. So, my question is, when is archive_command invoked? Thanks in advance! Kris