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 1fxAjK-0001wq-0m for pgsql-general@arkaria.postgresql.org; Tue, 04 Sep 2018 12:46:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxAjI-0000Q9-7j for pgsql-general@arkaria.postgresql.org; Tue, 04 Sep 2018 12:46:48 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxAjH-0000Q2-UC for pgsql-general@lists.postgresql.org; Tue, 04 Sep 2018 12:46:48 +0000 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fxAjE-0004Wb-Hr for pgsql-general@lists.postgresql.org; Tue, 04 Sep 2018 12:46:47 +0000 Received: by mail-oi0-x241.google.com with SMTP id p84-v6so6404408oic.4 for ; Tue, 04 Sep 2018 05:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=IcKi1n9HnwBgUda93k9DxIFwxRcMMq0Y4fmQyLxyXWM=; b=i18gAL5nm/ICXlp69dwJh7UrHuQvg6joJ4APpXd9F33VvSQz7gEoPmXbBjYfgMHS58 nEOmB8M4ywWFWHehfTR3vQWy8bVMxu62AKBI/ofLlGn49b124rHeBgHrCQsABw+gCF+f JHpPBpAhW4y52O2PQLZaV8QcPByARierWYp9ttx3RglUBgUHR55ox9wOm3b7gscgf+ao aXDMVzSu0FTU3YdCbnVA9SLt/ABV5a/tpa9HPkpeDRVuCXOaNQKqC44aRCiDh3G35LuK cVBp9jgXpdRK2fDtYEdrHn43advkp6PXhQian4JSBvA33vRkW5u48mACtPy7/DiNcCoS Ynzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=IcKi1n9HnwBgUda93k9DxIFwxRcMMq0Y4fmQyLxyXWM=; b=EFO3ZNjdn97Yvw9Eea+QcaW6qlGBhH0BXZH6HrtGp9+bALs04BN3imMMfmKDxfuodx si+Juf+5sNh5SO64qTRs5mBL0rxIzW2PYtgrL0lm1rzNv9gQmh2nbSQ9GS395k/J6JMg skH+Y4HLpclqeEoHOAUCbnrQNcMEAuk/UA6A3u8Gj8AeyctejrVIBfNkL7NadrxPvKur NSVtzoSHJWDn55xhj1tVJzatd+wcQqAyp6U5a/dW5GT1LcqJgRzhC0kiKskz1NUKsM11 iqc6ZTGoE2/CF5wOMhTixbGBgzeh+awYW9smT+Q0t0iZtGALy2JweSdvylmBbMUsLk2b aFJA== X-Gm-Message-State: APzg51B6qcOtOTpnp1q3rIU5mL+fbQj8M9v+99y/j1RJYuPiYU43579j kSrOFG5mBjbVywqBbTqvUCRP03Fi X-Google-Smtp-Source: ANB0VdZn+Erv6kx2uKltScYPgmmsbisGv9gfRNXlYiV4alPBdRQy4Fi6hOa0XC3mP3TTbUEcksYj+Q== X-Received: by 2002:aca:5652:: with SMTP id k79-v6mr26224260oib.296.1536065202225; Tue, 04 Sep 2018 05:46:42 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id 10-v6sm11377042oip.29.2018.09.04.05.46.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 05:46:41 -0700 (PDT) Subject: Re: Barman versus pgBackRest To: pgsql-general@lists.postgresql.org References: <0eb45bab-8ff7-7255-f052-951edd09b804@gmail.com> From: Ron Message-ID: <082d0d98-2dcd-8c4b-31b6-3ca47b4159b3@gmail.com> Date: Tue, 4 Sep 2018 07:46:40 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------D9DD9D00A2362D832EF2B409" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------D9DD9D00A2362D832EF2B409 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 09/04/2018 07:14 AM, Thomas Poty wrote: > > Do you just change the IP address of the "restore target"? > Do you expect a typical restore command? I'm investigating barman and pgBackRest to replace our exitsing NetBackup system, so don't know what you mean by "typical restore command". Here are our typical use cases: 1. If my barman backup server has full backups, diffs and WALs for database server MAIN_PG_SERVER, which hosts databases D1, D2 and D3, how much work is it to do a PITR restore of D2 to a *different* Pg server? 2. Can I restore an older copy of database D2 to MAIN_PG_SERVER, *giving it a new name* (so that now there would be databases D1, D2, D3 *and D2_OLD*)? That's pretty trivial on SQL Server, and something I've had to do before so the operations staff can research a problem.) Thanks -- Angular momentum makes the world go 'round. --------------D9DD9D00A2362D832EF2B409 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 09/04/2018 07:14 AM, Thomas Poty wrote:
> Do you just change the IP address of the "restore target"?
Do you expect a typical restore command?

I'm investigating barman and pgBackRest to replace our exitsing NetBackup system, so don't know what you mean by "typical restore command".

Here are our typical use cases:

1. If my barman backup server has full backups, diffs and WALs for database server MAIN_PG_SERVER, which hosts databases D1, D2 and D3, how much work is it to do a PITR restore of D2 to a different Pg server?

2. Can I restore an older copy of database D2 to MAIN_PG_SERVER, giving it a new name (so that now there would be databases D1, D2, D3 and D2_OLD)?  That's pretty trivial on SQL Server, and something I've had to do before so the operations staff can research a problem.)

Thanks

--
Angular momentum makes the world go 'round.
--------------D9DD9D00A2362D832EF2B409--