From: Ron Johnson <ronljohnsonjr@gmail.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: My Pgbackrest Backups Take Up Too Much Space
Date: Tue, 18 Feb 2025 09:41:07 -0500
Message-ID: <CANzqJaC1ihV4KoZ2rLeMPHD_2mHT_HU0Sdh2ZdCuihFSfQS25Q@mail.gmail.com> (raw)
In-Reply-To: <CAJZxWEPd80J_bDRz1_bg9Tp3qxZgnW0PJDxahQDYq1Va-pjc0A@mail.gmail.com>
References: <CAJZxWEPd80J_bDRz1_bg9Tp3qxZgnW0PJDxahQDYq1Va-pjc0A@mail.gmail.com>
On Tue, Feb 18, 2025 at 7:17 AM Abdullah Ergin <abdullaherginwork@gmail.com>
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 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 be open when you start
pgbackrest.
> What is the parameter to ensure deletion?
>
There isn't one, since it's a bad idea.
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: My Pgbackrest Backups Take Up Too Much Space
In-Reply-To: <CANzqJaC1ihV4KoZ2rLeMPHD_2mHT_HU0Sdh2ZdCuihFSfQS25Q@mail.gmail.com>
References: <CAJZxWEPd80J_bDRz1_bg9Tp3qxZgnW0PJDxahQDYq1Va-pjc0A@mail.gmail.com> <CANzqJaC1ihV4KoZ2rLeMPHD_2mHT_HU0Sdh2ZdCuihFSfQS25Q@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox