Incremental Backups taking up too much space then Main HDD

Operating System & Version
CentOS v7.9.2009
cPanel & WHM Version
Cpanel v100.0.7

loyalcom

Active Member
Apr 12, 2014
25
0
51
cPanel Access Level
Root Administrator
Hello

My incremental Backup size more and more then Main HDD


Disk Information

DeviceMount PointUsageStatus
/tmp/tmp79% (1,373,860,180 of 1,836,004,544)
/backup/backup96% (1,746,351,388 of 1,922,719,936)
//79% (1,373,860,180 of 1,836,004,544)
/boot/boot14% (128,064 of 999,320)
/var/tmp/var/tmp79% (1,373,860,180 of 1,836,004,544)

I keep only one weekly backup. Last week i have deleted all data from backup and newly generate incremental backup but result is same. This same issue with my another server.

Disk Information


DeviceMount PointUsageStatus
/backup/backup97% (880,549,328 of 961,297,424)
//88% (818,439,620 of 974,954,544)
/boot/boot14% (131,824 of 1,015,640)
/var/tmp/var/tmp88% (818,439,620 of 974,954,544)

Need Help urgently
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Hey there! The best thing to do would be to examine the size of the specific backup directories being created. The following command will show you everything inside the /backup directory:

Code:
du -h --max-depth 1 /backup
Can you check that to determine where most of the usage is?
 

loyalcom

Active Member
Apr 12, 2014
25
0
51
cPanel Access Level
Root Administrator
Hello

result below command

du -h --max-depth 1 /backup

1.7T ./weekly
493M ./.meta
16K ./lost+found

I have already checked it. My question is Server main hard drive usage 1310 GB but incremental backup usages 1665 GB. As i have only one backup so how their is too much difference around 355 GB excess usage at incremental backup.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Thanks for that - now that you have that information, you can run the command again on the "weekly" directory:

Code:
cd /backup
du -h --max-depth 1 weekly
and you'll see the disk usage of things inside that directory. You'll keep digging deeper with this process until you find individual files, or in your case, directories since you are using the incremental option, that show the disk space.
 

loyalcom

Active Member
Apr 12, 2014
25
0
51
cPanel Access Level
Root Administrator
Hello

I have done all. May i am unable to clarify you. last day again i have delete all backup and regenerate backup again after that i found the discrepancy again. A single example

[root@ssd2]# du -sh /backup/weekly/2022-01-27/accounts/crowncem/homedir/mail/
571G /backup/weekly/2022-01-27/accounts/crowncem/homedir/mail/

[root@ssd2]# du -sh /home/crowncem/mail/
419G /home/crowncem/mail/

I question is why the difference about 152 GB with server main data and incremental backup data ??? After backup data might be enlarge.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Incremental backups backup all the changes that have been made since the previous backup was taken, although that does seem like a large amount of email. It might be best to open a ticket with our support team so we could examine the system directly and get you more information.