Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X9fH1-0006QV-S2 for pgsql-admin@arkaria.postgresql.org; Tue, 22 Jul 2014 18:58:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X9fH1-0002WN-CM for pgsql-admin@arkaria.postgresql.org; Tue, 22 Jul 2014 18:58:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X9fH0-0002WF-8x for pgsql-admin@postgresql.org; Tue, 22 Jul 2014 18:58:50 +0000 Received: from mail.journyx.com ([209.163.206.41] helo=mail.int.journyx.com) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X9fGv-0003u6-Ee for pgsql-admin@postgresql.org; Tue, 22 Jul 2014 18:58:49 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.int.journyx.com (Postfix) with ESMTP id 5BCFB302027; Tue, 22 Jul 2014 13:58:38 -0500 (CDT) Received: from mail.int.journyx.com ([127.0.0.1]) by localhost (mail.int.journyx.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 62nexIB0PKSY; Tue, 22 Jul 2014 13:58:34 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.int.journyx.com (Postfix) with ESMTP id 31104305CBE; Tue, 22 Jul 2014 13:58:34 -0500 (CDT) X-Virus-Scanned: amavisd-new at mail.int.journyx.com Received: from mail.int.journyx.com ([127.0.0.1]) by localhost (mail.int.journyx.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2tBIFMiteGsN; Tue, 22 Jul 2014 13:58:34 -0500 (CDT) Received: from mail.int.journyx.com (zimbra.int.journyx.com [192.168.100.5]) by mail.int.journyx.com (Postfix) with ESMTP id 06264302027; Tue, 22 Jul 2014 13:58:34 -0500 (CDT) Date: Tue, 22 Jul 2014 13:58:33 -0500 (CDT) From: Scott Whitney Reply-To: Scott Whitney To: John Scalia Cc: pgsql-admin@postgresql.org Message-ID: <425387904.576712.1406055513880.JavaMail.zimbra@mail.int.journyx.com> In-Reply-To: <53CEB312.5060503@gmail.com> References: <53CEB312.5060503@gmail.com> Subject: Re: When is it safe to remove recovery.done? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_576711_298247886.1406055513878" X-Originating-IP: [192.168.100.188] X-Mailer: Zimbra 8.0.7_GA_6021 (ZimbraWebClient - GC36 (Win)/8.0.7_GA_6021) Thread-Topic: When is it safe to remove recovery.done? Thread-Index: sWUEh5eOdFCljjdJVG7E7wnJR6fTJg== X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org ------=_Part_576711_298247886.1406055513878 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Well, it depends on whether or not you need the file. It's renamed so the system doesn't accidentally try to re-enter recovery mode. However if you're still planning on having a standby, you _will_ need a recovery.conf file, and that's what this is, just renamed. ----- Original Message ----- > After successfully testing a failover between my primary and a standby > server, the old recovery.conf file is renamed recovery.done. As this system > is now the master, I don't see a > need to keep that file around, but is it safe to remove it now? > -- > Jay > -- > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin ------=_Part_576711_298247886.1406055513878 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Well, it depends on whether or n= ot you need the file.

It's renamed so the syst= em doesn't accidentally try to re-enter recovery mode.

=
However if you're still planning on having a standby, you _will_ need = a recovery.conf file, and that's what this is, just renamed.

=


After successfully testing a failover between my prim= ary and a standby server, the old recovery.conf file is renamed recovery.do= ne. As this system is now the master, I don't see a
need to keep that f= ile around, but is it safe to remove it now?
--
Jay


--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)<= br>To make changes to your subscription:
http://www.postgresql.org/mailp= ref/pgsql-admin

------=_Part_576711_298247886.1406055513878--