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 1gk8Ps-0005qW-Ut for pgsql-general@arkaria.postgresql.org; Thu, 17 Jan 2019 14:13:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gk8Pr-0005wd-PJ for pgsql-general@arkaria.postgresql.org; Thu, 17 Jan 2019 14:13:07 +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 1gk8Pr-0005wQ-Dr for pgsql-general@lists.postgresql.org; Thu, 17 Jan 2019 14:13:07 +0000 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gk8Po-0007np-22 for pgsql-general@lists.postgresql.org; Thu, 17 Jan 2019 14:13:06 +0000 Received: from firost (unknown [81.66.185.171]) (Authenticated sender: ioguix) by smtp1-g21.free.fr (Postfix) with ESMTPSA id B3798B00535; Thu, 17 Jan 2019 15:12:57 +0100 (CET) Date: Thu, 17 Jan 2019 15:12:56 +0100 From: "Jehan-Guillaume (ioguix) de Rorthais" To: Achilleas Mantzios Cc: pgsql-general@lists.postgresql.org Subject: Re: Barman versus pgBackRest Message-ID: <20190117151256.2c7d3cdc@firost> In-Reply-To: <5aef9b65-d7a9-6a77-149d-8693071c1eae@matrix.gatewaynet.com> References: <78135d4e-02c1-f757-fe26-3d92d25623f5@pgmasters.net> <5aef9b65-d7a9-6a77-149d-8693071c1eae@matrix.gatewaynet.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, 17 Jan 2019 13:09:18 +0200 Achilleas Mantzios wrote: > Hello, >=20 > One strong point of barman IMHO is transparently converting an incremental > backup to a full backup for retention purposes, so retention specificatio= n is > far more liberal than with pgbackrest, and configuring for incremental ba= ckup > does not pose any limitations to the schedule of backups. In our environm= ent > our net connection to the remote site (repo) is extremely lousy, (although > within Switzerland if that makes any difference), so with pgbackrest a fu= ll > backup of our 1.3TB db, would take about 2 days ,lets say set in cron wee= kly > on sunday, (Sunday 1:00->Tuesday),=C2=A0 then I would have to take incr b= ackups > from Wednesday->Saturday. And we would have to also take a full backup ne= xt > Sunday. With pgbarman we had to set : reuse_backup =3D link retention_pol= icy =3D > RECOVERY WINDOW OF 14 DAYS and just perform regular backups. So for barman > every backup can be used as a base for the next backup, which achieves fa= st > backups and reduced disk space. In pgbackrest one has to be explicit about > the retention of both full backups and diff backups. it would be nice in > pgbackrest to only have incremental backups and let the system do the > necessary management (converting incremental to full) transparently and > asynchronously, e.g.via cron. I have read about the --repo-hardlink optio= n. " > This gives the appearance that each backup is a full backup at the > file-system level " So could we just take a first full backup and then sw= itch > permanently to incr backups? Funnily enough, I opened an issue a month ago about this feature. If you wa= nt to join the brainstorming, discuss, add some opinions and thoughts, see https://github.com/pgbackrest/pgbackrest/issues/644