From: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
---|---|
To: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: My Pgbackrest Backups Take Up Too Much Space |
Date: | 2025-02-18 14:41:07 |
Message-ID: | CANzqJaC1ihV4KoZ2rLeMPHD_2mHT_HU0Sdh2ZdCuihFSfQS25Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Tue, Feb 18, 2025 at 7:17 AM Abdullah Ergin <abdullaherginwork(at)gmail(dot)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!
From | Date | Subject | |
---|---|---|---|
Next Message | Raj | 2025-02-18 14:57:37 | DB slowness |
Previous Message | Abdullah Ergin | 2025-02-18 12:17:31 | My Pgbackrest Backups Take Up Too Much Space |