Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz109-0005pX-EN for pgsql-general@arkaria.postgresql.org; Wed, 27 Feb 2019 15:20:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gz106-0004Gw-UX for pgsql-general@arkaria.postgresql.org; Wed, 27 Feb 2019 15:20:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz106-0004Gc-IN for pgsql-general@lists.postgresql.org; Wed, 27 Feb 2019 15:20:02 +0000 Received: from server5.simfrete.com ([177.52.183.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz0zy-00065o-PU for pgsql-general@lists.postgresql.org; Wed, 27 Feb 2019 15:20:01 +0000 Received: from [192.168.10.30] (report.simfrete.com [177.52.183.17]) by server5.simfrete.com (Postfix) with ESMTPSA id 56CD3251BDF for ; Wed, 27 Feb 2019 12:19:52 -0300 (-03) Subject: Re: Barman disaster recovery solution To: pgsql-general@lists.postgresql.org References: <1ttgfmod96uhh1ju7mk0f7v6.1551268542036@email.lge.com> From: Edson Carlos Ericksson Richter Message-ID: Date: Wed, 27 Feb 2019 12:19:52 -0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: pt-BR List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Em 27/02/2019 12:12, Achilleas Mantzios escreveu: > On 27/2/19 5:04 μ.μ., Edson Carlos Ericksson Richter wrote: >> >> Em 27/02/2019 09:31, Achilleas Mantzios escreveu: >>> On 27/2/19 1:58 μ.μ., richter@simkorp.com.br wrote: >>>> Just to notice, I d o use backup from standby and WAL archive from >>>> standby. It is possible. But you have to configure standby with >>>> option of wal archive "always". >>> >>> I guess there are issues with it. If this was so easy then pgbarman >>> and pgbackrest would support it out of the box. >> >> >> >> Well, >> >> >> This setup it is working really well for past two years; prior to >> that, we used backup from primary server. > Using which tool? Barman. >> >> We have about 50 databases, half terabyte in total, primary and >> standby separated geographically. >> >> We had to write special app to monitor if standby is behind primary >> (it compares the transaction id between primary and standby). >> >> For eight years, we had no single failure from PgSQL databases (using >> since 9.0 and today on 9.6), replication is for "just in case" data >> center unavailability, and backup is for disaster recovery (in case >> two data centers in different states from different vendors get out >> of work at same time). >> >> >> But we give no chance to bad luck: we monitor replication status >> every 2 minutes, we make full backup every 2 days with incremental >> backup in between, and test all backups on a recover server every >> day. As pointed, we have no single database failure that required to >> use the replication server or the backup server, but we will not >> lower the attention. > Which means you tested your backups? Recover and run our main app on it. Regards, Edson >> >> >> Regards, >> >> >> Edson >> >> >>> >>>> >>>> Just my 2c, >>>> >>>> Edson Richter >>>> >>>> /Enviado do meu Telefone LG/ >>>> >>>> ------ Mensagem original------ >>>> *De: *Achilleas Mantzios >>>> *Data: *qua, 27 de fev de 2019 06:40 >>>> *Para: *pgsql-general@lists.postgresql.org >>>> ; >>>> *Cc:* >>>> *As! sunto:*Re: Barman disaster recovery solution >>>> >>>> On 21/2/19 9:28 π.μ., Achilleas Mantzios wrote: >>>>> On 21/2/19 9:17 π.μ., Julie Nishimura wrote: >>>>>> Does anyone use this solution? any recommenations? >>>>>> >>>>>> Thanks! >>>>> >>>>> Barman will fit most requirements. PgBackRest excels when WAL >>>>> traffic goes on 100000 files/day or more. I have written an >>>>> article, not yet publised, on a comparison on the 3 most known >>>>> solutions. Will post a link as soon as it gets published. >>>> >>>> Hello, as promised here is my blog : >>>> https://severalnines.com/blog/current-state-open-source-backup-management-postgresql >>>> >>>> >>>>> >>>>> -- >>>>> Achilleas Mantzios >>>>> IT DEV Lead >>>>> IT DEPT >>>>> Dynacom Tankers Mgmt >>>> >>>> >>>> -- >>>> Achilleas Mantzios >>>> IT DEV Lead >>>> IT DEPT >>>> Dynacom Tankers Mgmt >>> >>> >>> -- >>> Achilleas Mantzios >>> IT DEV Lead >>> IT DEPT >>> Dynacom Tankers Mgmt >> > >