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 1igg1E-0000CX-Uj for pgsql-general@arkaria.postgresql.org; Mon, 16 Dec 2019 02:21:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1igg1D-0002xr-1o for pgsql-general@arkaria.postgresql.org; Mon, 16 Dec 2019 02:21:55 +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 1igg1C-0002xk-LY for pgsql-general@lists.postgresql.org; Mon, 16 Dec 2019 02:21:54 +0000 Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1igg15-0001ZL-QR for pgsql-general@lists.postgresql.org; Mon, 16 Dec 2019 02:21:54 +0000 Received: by mail-ot1-x344.google.com with SMTP id 59so7006740otp.12 for ; Sun, 15 Dec 2019 18:21:47 -0800 (PST) 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-transfer-encoding:content-language; bh=FEQ25uhecN+xGnXDnXJLISd3ELpODWs6Cimf4fu89AA=; b=rDvhC8dWsWtTkx3dGpLWvXnsZ0Q1M6YjyZwGUW/fv//tMDL0xKkSpWHf8qbAwaVawj QR23EM3iK1MIoAyZ+yGIyChnPrrcOTDc/dggS8tJ78EvyFevrN5YBA2WhbZBplZQKu8j 2ExVVR/wQxtZYdhpDlw513T55DueY0Ylzpm19JkQ7ON8ZWoKkYEsBcKE/ZOmvEBaw8zE Ld6UfTrva/19z1SzPU7FAzmQCZk4ZScqXezR+tLMaRPkKWJvE7o9dhlI2LeKhlPbGhyJ Hqam3N5Lg9qQzQIeSZO8HTn7MEKlv+Cz0sljvnLmU7xUAMGozkbcw7ABS/a/25QQzeTJ d0qw== 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-transfer-encoding :content-language; bh=FEQ25uhecN+xGnXDnXJLISd3ELpODWs6Cimf4fu89AA=; b=JK6ZguYOav5jSFH/geWaj37IQDqDDkizXN3TTDm5MM7FpBg9S1EFKlqQzSOriN0iTo //Z01E0MUn4IyY6vPsWdg3voXPOF5959QWA7Jpv+6nEhoeFhL2kZBLfVTn2TWiwUoC4X OSHnNG36Gu4yuNb7PFOUBuVoTNKjkt6aDhEen7Jpp0vppaw/RYQo6lEtNfCQX/SLhp8N HlPWnXLbiQSN9ZnmiW3sxNuQz3xwumgPqflQiuGoz3XXUtQ8bld3xsPykiXpM4IEYUx3 2fQZLDxOvUzDTx7iCu9u/PcIGp6WXyQociDDl6neV4myB2NpbBR2bmXH2bMD9PV+NfJp 7T7w== X-Gm-Message-State: APjAAAUE0QhTJ4kkZ95GqpPhnCntPKlSpXZieo2dls/yC6T3ldKSFRiR l/Av7tVDumi+eqiGUszbMzWfX1lBEnQ= X-Google-Smtp-Source: APXvYqxThPg0PCfEL8FB9X9YidPqrRGLbw6wMuXM2aVn8ZJhu2yvaZ35S0fgF/KuljZFupScaABAVQ== X-Received: by 2002:a9d:6d81:: with SMTP id x1mr31194074otp.9.1576462905821; Sun, 15 Dec 2019 18:21:45 -0800 (PST) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id i7sm6193076oib.42.2019.12.15.18.21.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Dec 2019 18:21:45 -0800 (PST) Subject: Re: Is there any tool that provides Physical Backup plus PITR for a single database ( Not the whole PG instance ) ? To: pgsql-general@lists.postgresql.org References: <7221add2e55444f3b479eda3762879f4@phx-exmbprd-01.adprod.bmc.com> <4b9f37c9eb5542188f1d0f092bea62ed@phx-exmbprd-01.adprod.bmc.com> From: Ron Message-ID: <4db7a53f-ba36-c5e9-88af-9e427559516a@gmail.com> Date: Sun, 15 Dec 2019 20:21:44 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/15/19 10:32 AM, Adrian Klaver wrote: > On 12/15/19 6:33 AM, Abraham, Danny wrote: >> I assume that this magic does not exist. >> Am I right ? > > Take a look at: > > https://pgbackrest.org/user-guide.html#restore/option-db-include > > and see it that meets your needs. I have never actually done it so I > cannot add anything to the above. Restoring one db using pgbackrest zeroes out all the other databases. (The inability to do PITR of a single database is a serious flaw in Postgres, but I don't think it can be solved.) -- Angular momentum makes the world go 'round.