Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTVTl-0005Y2-NW for pgsql-general@arkaria.postgresql.org; Thu, 23 Sep 2021 20:38:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mTVTk-0004Jp-IP for pgsql-general@arkaria.postgresql.org; Thu, 23 Sep 2021 20:38:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTVTk-0004Jb-6Z for pgsql-general@lists.postgresql.org; Thu, 23 Sep 2021 20:38:00 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mTVTd-0000yH-RH for pgsql-general@lists.postgresql.org; Thu, 23 Sep 2021 20:37:59 +0000 Received: by mail-oi1-x22b.google.com with SMTP id a3so11455584oid.6 for ; Thu, 23 Sep 2021 13:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=8qcc3w36LSVc9kOj7jHUcwOlPTipZyJh0cMgFBzeKFw=; b=J+GZPNWRvoYSSy46zWuLB9McfpZWbEH2U+48LRezHucbNcITkNglPjxYoJjNOEPEZO xqX8wKTyc2M7dZuXGVi9rA/n3VPtZwD++jQE7oyBXj/ZOcPNocnPv0SIK41Qv8a08BVP ZrJURkghmWGZi3959/KcVdjdX/f21ig34DNnEi8f/s+oqib5jaoVd+wyKkKN8LD2j4HK byM83b0RQVFsxAPjPQ/7vVMB9ylkGjA/0lskcHCB7874E1ZKDlLYrCXKlcgmgK7tHu2Z Lh9n+OhzCR++lqPb8XBIDAsZq8sw4l0r7eFycNDe6MAtM81nk33C5lTs0fNJ2Zg2lfLm JQgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=8qcc3w36LSVc9kOj7jHUcwOlPTipZyJh0cMgFBzeKFw=; b=iggYbQRwbdLAODfNa05BdbK5XqM+XICa+AzQNTsdylPk5GqCpjyQfDa8yUw6mgYLln biidr4FfokEOFqMEMwThdt4dWzJJtDBgbCtLWrXgDW2SF/1kWwibEshiFIdXqNmthFyJ mNk392QSF4p3ZBT1+QIzjDOTmBeSUa6c+nsOfOJGywqbQYa6CxT07dpEUTvn36/i9g7R Uwdm9Terz7HBhViKWyY0KDnv24MrIUpEE+xrh9ysTAuUyZOT5O6YZqWZeKgaRqN6BbhO bfYzHdObolOZrONOxb6hMfCfUlskH9Q16YnGma2wR+vB5pnYvShGbbdvbVOfqFNWKorC 5cSA== X-Gm-Message-State: AOAM531vaLlwBq7zk5aUUb8dyOBUIyECixI1S3FxBEBOJ4NKIlRRuL4Z aohBqhXeZUksuuweWlhfrNdrm/VWY30= X-Google-Smtp-Source: ABdhPJye+PUYmgto6I5tZCzLQXAxT7bZhIkXTVGKBh1NioSeN+xJ0+AzkVP69TAn+EdiR03tyLJ7rQ== X-Received: by 2002:aca:c6d1:: with SMTP id w200mr5440973oif.54.1632429473009; Thu, 23 Sep 2021 13:37:53 -0700 (PDT) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id u77sm232717oie.46.2021.09.23.13.37.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Sep 2021 13:37:52 -0700 (PDT) Subject: Re: Postgres incremental backups per db (not per cluster) To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: Date: Thu, 23 Sep 2021 15:37:51 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------AA66F8D4D536105147BBA5A7" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------AA66F8D4D536105147BBA5A7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 9/23/21 2:57 PM, Jaime Solorzano wrote: > > According to the WAL Point-in-time recovery and incremental backup > documentation, pg_basebackup and wals are used to take backups and > incremental backups of a running PostgreSQL cluster. > > > I wonder if there is a way to take incremental backups per database > instead of the entire cluster. > You're not the first to ask (I wasn't the first either...), and not the first to hear said, "it's not possible". -- Angular momentum makes the world go 'round. --------------AA66F8D4D536105147BBA5A7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On 9/23/21 2:57 PM, Jaime Solorzano wrote:

According to the WAL Point-in-time recovery and incremental backup documentation, pg_basebackup and wals are used to take backups and incremental backups of a running PostgreSQL cluster.


I wonder if there is a way to take incremental backups per database instead of the entire cluster.


You're not the first to ask (I wasn't the first either...), and not the first to hear said, "it's not possible".

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