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 1fxC64-0006rI-VV for pgsql-general@arkaria.postgresql.org; Tue, 04 Sep 2018 14:14:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxC63-0003Mc-4o for pgsql-general@arkaria.postgresql.org; Tue, 04 Sep 2018 14:14:23 +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 1fxC62-0003MU-N6 for pgsql-general@lists.postgresql.org; Tue, 04 Sep 2018 14:14:22 +0000 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fxC5v-0005og-PQ for pgsql-general@lists.postgresql.org; Tue, 04 Sep 2018 14:14:21 +0000 Received: by mail-oi0-x22a.google.com with SMTP id l202-v6so6959766oig.7 for ; Tue, 04 Sep 2018 07:14:15 -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=r4PR+Xe/sK0JjtzBwV6Go/Cd8BEiLmlfB0u7zIQoNws=; b=ZYTGWpXx5/DfbHxN2xGYBwRXqgOTNnZzJcFELNnwoLFOYDFtfvfjRfxuOOeSaTDVUu TaVUsQ8x03/gB0DywMg0Yk0/OlYTRpYwXpl+KQp9vAKmbPbNDy/SPkjC0NwWzmdmvuP8 DAiGeukQwtgeRSoL/r+xnhx461m2FqQXriteQyhUpbp4IyHP7KIewEBO87av7n8CNkF/ FG7b72aBAW0Ea9CYHjSJauNeDQWkmHYthAbdn3nTMCyo5ibGNxQ7HA0aAivYeHrIRmxk PY8LSsrtclv/9VWSW9VOcr5T2DID4R2F54PgZPV9R6Qb+/nhL5apKCM+QtwIrFaNCLez gJeQ== 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=r4PR+Xe/sK0JjtzBwV6Go/Cd8BEiLmlfB0u7zIQoNws=; b=V2hfxnNiRnbw9s6QauFatiRzo0bLfadtgsaYlfCgIdYFPPhgQ2UPFSMW1nivPiVY5i gEnwweMDTDQn5rH9wqNaRMBzI10zqkgAnQpsgiF9EMPB7goPPIbkmDdIZHFYZ8g1KZQu IKbZlBQ5Q7Y40TcpB1jFZ2iGEkcTfPWsFMoxELkIu1wPTxu/v5TlHnshRMHnEiSIHhIT S/8EKZjmAb2k96gRF/JEmVOv1X5rJdybRYBmza4WezFafVf/zTgQNZZzuC5Nm1WPqPUT lhvKVRxRTiUq0Y7TrYVcNB91jDbuG8HO/ha3W/ZzpLDbuypctKQV3mYVCZ5ts+aEd8X6 9hLw== X-Gm-Message-State: APzg51AvW+pphh8IakGczaU3qFvC23FWKpzb6di9f4S6lMBzTsctEiLk X7j8ycPBEyHzOv49X/KvEfEOPFJ8 X-Google-Smtp-Source: ANB0VdbD/9FUEaL4lokRI5uYZAAWGWPG05VWq1p+7x5BPyk+ZkdixgaxDtDvo1dS0OYxky7q1oUocw== X-Received: by 2002:aca:d098:: with SMTP id j24-v6mr11705830oiy.72.1536070454746; Tue, 04 Sep 2018 07:14:14 -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 l195-v6sm39124007oib.17.2018.09.04.07.14.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 07:14:13 -0700 (PDT) Subject: Re: Barman versus pgBackRest To: pgsql-general@lists.postgresql.org References: <0eb45bab-8ff7-7255-f052-951edd09b804@gmail.com> <082d0d98-2dcd-8c4b-31b6-3ca47b4159b3@gmail.com> From: Ron Message-ID: <5d1e08a4-e7c9-0d32-7d01-5b1c76cc67ef@gmail.com> Date: Tue, 4 Sep 2018 09:14:12 -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="------------26F7239729268EDDFB6455AC" 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. --------------26F7239729268EDDFB6455AC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit That was about barman, in the barman group.  This is asking about pgbackrest...  :) So: does pgbackrest have this ability which barman does not have? The "--db-include" option seems to indicate that you can restore a single db, but does indicate whether or not you can rename it. On 09/04/2018 08:44 AM, Thomas Poty wrote: > Your problem looks like this one ;-) > https://groups.google.com/forum/#!topic/pgbarman/kXcEpSLhw8w > > answer may help > > Physical backup/restore operates on a whole cluster... > > Le mar. 4 sept. 2018 à 14:47, Ron > a écrit : > > 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. > -- Angular momentum makes the world go 'round. --------------26F7239729268EDDFB6455AC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
That was about barman, in the barman group.  This is asking about pgbackrest...  :)

So: does pgbackrest have this ability which barman does not have?  The "--db-include" option seems to indicate that you can restore a single db, but does indicate whether or not you can rename it.


On 09/04/2018 08:44 AM, Thomas Poty wrote:
Your problem looks like this one ;-)
answer may help

Physical backup/restore operates on a whole cluster...

Le mar. 4 sept. 2018 à 14:47, Ron <ronljohnsonjr@gmail.com> a écrit :
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.

--
Angular momentum makes the world go 'round.
--------------26F7239729268EDDFB6455AC--