Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tkOmq-003YPV-Kn for pgsql-admin@arkaria.postgresql.org; Tue, 18 Feb 2025 14:41:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tkOmp-00ArUr-D2 for pgsql-admin@arkaria.postgresql.org; Tue, 18 Feb 2025 14:41:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tkOmp-00ArUi-1m for pgsql-admin@lists.postgresql.org; Tue, 18 Feb 2025 14:41:23 +0000 Received: from mail-oa1-x2f.google.com ([2001:4860:4864:20::2f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tkOmn-001Zw6-04 for pgsql-admin@lists.postgresql.org; Tue, 18 Feb 2025 14:41:22 +0000 Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-2bcc0c6c149so1742967fac.1 for ; Tue, 18 Feb 2025 06:41:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739889679; x=1740494479; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=A0k0TLfjPRz5pSJGSmr/7ZKafQRH0orv4d40w7Cmpk4=; b=Cdwukzr3o1Ax8/1TC83sPf+OV+TDL69mwTadapXfgrDslZVvYjhDHZhzUzQggXXhUZ OX/aLJa6t0RHtGy1ICz8RJiuni90F6RAZUHFuDO+RRfxJWt21NDsGaivrxdLoyvY0TFz 0IGxJeBKUiCoN87ckcVW7epuyRxJcrLz6H+sBHlfqisF7ebK6fHFqq8vJ40Vo8eAM5iC 4f+H6NqtXZqHY6wz2WbNL/+WK33Pyv6LQM5nlI5fJEWFyQwA16R93UXkiNJ6ypfn/LjZ L0Mlqhu86ozRYiCJs/Y37ANeLPoHh1aFska67uFFKRtVOgYg3ZHNNxQm6606Km3uNn/9 3WOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739889679; x=1740494479; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A0k0TLfjPRz5pSJGSmr/7ZKafQRH0orv4d40w7Cmpk4=; b=n5Z8M4EXToSiYSZ0NjO9q4wxe3Cr5yNAv1wRHPB7L6t01cdKwTJwVjyBmXULjznbSf gF2ocv8/qFA7ZVGQ6I+o6NaORSVXJHQthBfyZmE80Fq0fHF9U38gGPuz9xupQlO1Eogj l6GNpT+d6nBPHtVoXz6+AQutyi1uzdQZcImC7ZD9mJv2AEVs5Z2uTDFYfuKe59A1xkQE ndWBh1/CBMqN2tF/5D7lprgqCS6+/O3TzWMS5pO0RE5On4skFQS54QxYEHCm+Zieo5hU TBojIG5RBbJNq9J7Pi5D6gR12vZK9SYkKcM8A8IbJDg99ifnMVKtAIqIh95bgsfbyG3B c4qA== X-Gm-Message-State: AOJu0YzsXtUSMkC8X2IOzj+NA5w1FrzkbOfj0I0UL161I12kzs7FCV+o Uf072wYcCun/FX+aCLzd+XwqKNXdtecfdiL9ieZ5KWu3EZbsIOZX+QRdCc9PgYAFaB/of9lT5s0 Vo44ExW1sPzer1o5XdBKsM6E3S6/9I9Lq X-Gm-Gg: ASbGncvQZNF++9uzkPtJd0ODjA8jWtLu1rOJoDuRfuBFLzXVt0sBTvu6VwhaL/7VyIm 1vRtcZ8NhslqUP7+wTK3ODiJdzEt4e/V8RInMlHKBc90Ip7e3z9B44fE6GOXIUWpQl7wnKuMjuQ == X-Google-Smtp-Source: AGHT+IFqrINmxottK9BQVG9+hR7J9LAxv/h0we+yo/mwS0/I/Yw8CKtHIWMcBLXqadev4jd+whByYrEVdyP5DNilpbY= X-Received: by 2002:a05:6871:6a7:b0:296:bbc8:4a82 with SMTP id 586e51a60fabf-2bc99d75b1amr9108205fac.27.1739889678868; Tue, 18 Feb 2025 06:41:18 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Tue, 18 Feb 2025 09:41:07 -0500 X-Gm-Features: AWEUYZmf6LvNIYMxONTOoaRrsbJvCZ6IRByEBJeAlP6PI6ZYuU9Eh7w80dSFt1A Message-ID: Subject: Re: My Pgbackrest Backups Take Up Too Much Space To: Pgsql-admin Content-Type: multipart/alternative; boundary="00000000000041ed5b062e6ba2a3" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000041ed5b062e6ba2a3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 18, 2025 at 7:17=E2=80=AFAM Abdullah Ergin wrote: > Hi, > I have a 9.3 TB database. And when I take a full backup, the space it > occupies in the repo is 8.7 TB. This compression is not enough for me. It > needs to be compressed more, I did not enter any parameters on my backup > server for compression, so it compresses with default parameters (gz). > Normally gz compresses well, why is there so little compression? > Is your data very compressible? Are you sure the backups are being compressed? > Also my archive files, the two days archive file of my stanza is now > 744GB. I understand that my old archive files are not deleted after my in= cr > backup. Wouldn't my old archive files be redundant after my incremental > backups, wouldn't it be better to delete them? > Not if you ever need to restore to a PIT somewhere in the middle of the day= . And there's always open transactions which might be open when you start pgbackrest. > What is the parameter to ensure deletion? > There isn't one, since it's a bad idea. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --00000000000041ed5b062e6ba2a3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Feb 18, 2025 at 7:17=E2=80=AFAM A= bdullah Ergin <abdullaher= ginwork@gmail.com> wrote:
Hi,
I have a 9.3 TB database. And when I take a full backup, the spa= ce it occupies in the repo is 8.7 TB. This compression is not enough for me= . It needs to be compressed more, I did not enter any parameters on my back= up server for compression, so it compresses with default parameters (gz). N= ormally gz compresses well, why is there so little compression?

Is your data very compressible?
Ar= e you sure the backups are being compressed?
=C2=A0
Also my archive = files, the two days archive file of my stanza is now 744GB. I understand th= at my old archive files are not deleted after my incr backup. Wouldn't = my old archive files be redundant after my incremental backups, wouldn'= t it be better to delete them?

Not if= you ever need to restore to a PIT somewhere in the middle of the day.

And there's always open transactions which might b= e open when you start pgbackrest.
=C2=A0
What is the parameter to= ensure deletion?

There isn't= one, since it's a bad idea.

--
Death to <Redacted>, and butter sauce.
Don&= #39;t boil me, I'm still alive.
<Redacted> lobster!<= /div>
--00000000000041ed5b062e6ba2a3--