Backup doubled in size overnight

Hi,
I have a backup script that runs every day.
It creates a new backup and deletes the oldest one.
I noticed it doubled in size from one day to the other without my users having received a lot of emails, nor super sized ones.

drwxr-xr-x 2 user-data root       4096 Mar 28 00:00 .
drwxr-xr-x 3 root      root       4096 Oct 24 13:08 ..
-rw-r--r-- 1 root      root       9615 Mar 21 00:41 box-2023-03-21.log
-rw-r--r-- 1 root      root 2317326943 Mar 21 00:41 box-2023-03-21.tar.gz
-rw-r--r-- 1 root      root      10042 Mar 22 00:35 box-2023-03-22.log
-rw-r--r-- 1 root      root 2324994337 Mar 22 00:35 box-2023-03-22.tar.gz
-rw-r--r-- 1 root      root      10469 Mar 23 00:47 box-2023-03-23.log
-rw-r--r-- 1 root      root 2333389309 Mar 23 00:47 box-2023-03-23.tar.gz
-rw-r--r-- 1 root      root      10773 Mar 24 00:35 box-2023-03-24.log
-rw-r--r-- 1 root      root 2348753791 Mar 24 00:35 box-2023-03-24.tar.gz
-rw-r--r-- 1 root      root      11077 Mar 25 00:41 box-2023-03-25.log
-rw-r--r-- 1 root      root 2365006933 Mar 25 00:41 box-2023-03-25.tar.gz
-rw-r--r-- 1 root      root      11381 Mar 26 00:47 box-2023-03-26.log
-rw-r--r-- 1 root      root 2371977581 Mar 26 00:47 box-2023-03-26.tar.gz
-rw-r--r-- 1 root      root      12284 Mar 27 01:24 box-2023-03-27.log
-rw-r--r-- 1 root      root 4540538660 Mar 27 01:24 box-2023-03-27.tar.gz
-rw-r--r-- 1 root      root      12588 Mar 28 01:46 box-2023-03-28.log
-rw-r--r-- 1 root      root 4544865542 Mar 28 01:46 box-2023-03-28.tar.gz

In fact I had just deleted all emails older than 2019 and was expeting the mailboxes to shrink, not to go bigger…
Does anyone have a clue to where should I look for the reasons?
Thank you,
Julio

I’d start by just comparing the contents of a small and double read see archive.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.