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 1mg93x-00022X-Kf for pgsql-general@arkaria.postgresql.org; Thu, 28 Oct 2021 17:19:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mg93w-000542-F2 for pgsql-general@arkaria.postgresql.org; Thu, 28 Oct 2021 17:19:36 +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 1mg93w-00052U-1q for pgsql-general@lists.postgresql.org; Thu, 28 Oct 2021 17:19:36 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mg93t-00026T-OW for pgsql-general@lists.postgresql.org; Thu, 28 Oct 2021 17:19:35 +0000 Received: by mail-pf1-x42a.google.com with SMTP id p40so1783640pfh.8 for ; Thu, 28 Oct 2021 10:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=illuminatedcomputing-com.20210112.gappssmtp.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=dsF8GQ8oJBAb3arFqkhvWnC87FmJ4EhQ5Xz2gbdkbEY=; b=DQgntl6YLKY7omHJmtuysejj18cdlkAbWGfok22gJjTrvpq6LaNiczuw/YvzbgEB9h SwHsMm/Zi1BpGOSfDA7aCLMsB2zQm1wLZyvRmV64b3IXsslnlqx6cAO0b2W0CuCN5mR9 FYWm3BDNL9iPZpnDY+dPZ8gIk0MDECPXYuwq/TsraVbhdOSYhfpXO/jOsvX2bg1DMChq +c53goH0cBRD+ICm35PlMAaC7DylTD8a8t22HULyUxjGC74uXJDjmiETxRFch1i6O1kj Ss2QDvH6+nOhkkuqB5B2rWiRmwEJp/MpLeIOp40pjKWsF6jaUfNrfzE2yEQIoF9jE9TV Om7Q== 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 :content-transfer-encoding; bh=dsF8GQ8oJBAb3arFqkhvWnC87FmJ4EhQ5Xz2gbdkbEY=; b=w7BdVenwDJ2Omm4Xiu1kCiCL94QRC5D2pOPrzUII+5IUt6FYxfkytJYxzwUTarBuD3 ttsDBwka2+NqB9rf6dGUSYIwwuV/0RfLn0fdMhLQBkwbCXO0Xce6SH2IoAGfyyeQAKj5 5NI8LZr+z2jqtDCuuAwam27ZtgNavBwC8S3YYiEJ+03i8QGl2h9sv6VGu0XqQtv8JzB0 9g9tks/Kgt2jUnRzkeyYAqW6VMo8pME9nqIjja+v7fHp1kVWrykwY5Ve61eE4D5VrKa5 AcZhMLoJu/3Wccz4AAfA4cGYpX+GzT1z74GSuBvORR7JjygINv3Mj1pIw3l7OILcUdbE oRRA== X-Gm-Message-State: AOAM532fQCdiBLqdIxiOPxbdmoTx5hHaQB102CvT5OXs6PXrNoBSCXF8 6KyM1Uw6mBH027ciN1eZa82hLC/i1qD1aGtz X-Google-Smtp-Source: ABdhPJx45RdB8IqbSywj6iOCSxhVJKkcEQRFZ4xUHqFQ7FMwaPZQplAwz6B+8FSxKGlOF9lsQqR8pQ== X-Received: by 2002:a05:6a00:24d3:b0:47c:e914:3a29 with SMTP id d19-20020a056a0024d300b0047ce9143a29mr5659455pfv.64.1635441572106; Thu, 28 Oct 2021 10:19:32 -0700 (PDT) Received: from [192.168.2.139] ([50.53.98.191]) by smtp.googlemail.com with ESMTPSA id c25sm3956991pfn.159.2021.10.28.10.19.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Oct 2021 10:19:31 -0700 (PDT) Subject: Re: Incremental backup To: pgsql-general@lists.postgresql.org References: From: Paul Jungwirth Message-ID: Date: Thu, 28 Oct 2021 10:19:31 -0700 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: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/28/21 5:23 AM, Edu Gargiulo wrote: > Is there any way to make incremental backups in postgres-12? wal-e and wal-g are useful tools for this and easy to set up. They take periodic full backups and then also continuously archive WAL files. To restore they apply the last full backup and then replay the WAL since then. They have nice support for putting the files on S3 or similar places, but really they can drop the files anywhere. Yours, -- Paul ~{:-) pj@illuminatedcomputing.com