Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g56RO-0000Il-Fm for pgsql-general@arkaria.postgresql.org; Wed, 26 Sep 2018 09:49:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g56RJ-0005jW-Hd for pgsql-general@arkaria.postgresql.org; Wed, 26 Sep 2018 09:49:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g56RJ-0005jP-5p for pgsql-general@lists.postgresql.org; Wed, 26 Sep 2018 09:49:01 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g56RE-0004l8-4m for pgsql-general@lists.postgresql.org; Wed, 26 Sep 2018 09:48:59 +0000 Received: from Davids-MacBook.local (host86-180-234-155.range86-180.btcentralplus.com [86.180.234.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 2E4A054679; Wed, 26 Sep 2018 09:48:53 +0000 (UTC) Subject: Re: Setting up continuous archiving To: Yuri Kanivetsky , pgsql-general@lists.postgresql.org References: From: David Steele Message-ID: <5d166fa2-6612-91d3-f33b-299e479d3571@pgmasters.net> Date: Wed, 26 Sep 2018 10:48:49 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 9/26/18 8:20 AM, Yuri Kanivetsky wrote: > > I'm trying to compile a basic set of instruction needed to set up > continuous archiving and to recover from a backup. I'm running > PostgreSQL 9.3 on Debian Stretch system. This is an incredibly complex topic and it is very difficult to implement correctly. My advice is that you use a mature backup solution like pgBackRest or barman rather than rolling your own. -- -David david@pgmasters.net