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 1gz0t2-0005GJ-1Z for pgsql-general@arkaria.postgresql.org; Wed, 27 Feb 2019 15:12:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gz0t0-0002v7-N8 for pgsql-general@arkaria.postgresql.org; Wed, 27 Feb 2019 15:12:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz0t0-0002v0-Ej for pgsql-general@lists.postgresql.org; Wed, 27 Feb 2019 15:12:42 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz0st-0003O6-Ua for pgsql-general@lists.postgresql.org; Wed, 27 Feb 2019 15:12:42 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8) with ESMTPS id x1RFCT7E018591 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Feb 2019 17:12:34 +0200 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id x1RFCTJY076414 for ; Wed, 27 Feb 2019 17:12:29 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: Barman disaster recovery solution To: pgsql-general@lists.postgresql.org References: <1ttgfmod96uhh1ju7mk0f7v6.1551268542036@email.lge.com> From: Achilleas Mantzios Message-ID: Date: Wed, 27 Feb 2019 17:12:29 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.100.2 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-27.9 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL,DYN_HAM_SIGNAT1,TW_PG,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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? > > 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? > > > 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 > -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt