Admin Backups, confusion, error, and size differences

jonathanPcolo

Verified User
Joined
Feb 12, 2021
Messages
9
Fresh DirectAdmin install, 4 users migrated/restored from from cPanel backups. Admin/Root account with all 4 users directly under it (no reseller).

Have a daily [ 0 1 2-31 * * ] and monthly [ 0 1 1 * * ] backups to to /backup/day and /backup/month respectively. /backup is a 1TB drive. Daily has admin + the 4 users selected (which is all the users on the box) vs the monthly showing "all users" (not sure if this makes a difference?).

Running into errors, where it seems every other day, backups fail to due to no space left on device.

The backups for the 4 users from cPanel were around ~45GB, and still have 200GB free:

/dev/sdb1 917G 653G 219G 75% /backup

Poking around in /backup, the Thursday and Wednesday dirs are significantly larger (120 and 135G) vs the normal ~45GB of backup. Taking a peek inside them, the reason appears to be with an admin.root.admin.tar.gz backup file which is ~91GB in the Thursday and Wednesday, and 0 in the rest.

The backups should be in the 45GB range. Not sure why the admin.root.admin file is, and find it odd that it is close to x2 in size. Is the root admin user backing up all the users in addition to backing up all the users?
 
Are you backing up the backup file? In cpanel backups are outside of home. In da they are inside home. As the backups run the file gets larger. Unless you move the main backup folder location outside of home.

To like /backups
I see you said this but wasn’t sure you ment in DA or not.

Instead of
/home/account/admin_backup
 
The /backup location is on a separate drive (sdb) than the DirectAdmin install (sda).

System backups are also set to /backup/system_backup on (sdb)
 
Unzip the 91GB file and check what's in there that takes up the extra space. Ik might give you a clue what happened.
 
k, migration directions from cPanel has you dumping the files into /home/admin/all_backups which reading this doc is not one of the directories that is skipped during the backup procedure. Which explains half of that ~90GB, the other half was the path /home/admin/all_backups being stored in the GUI, and someone having made a backup to that location.

Moved cPanel backups into admin_backups so they don't continuously get backed up.

Going to run backups and see what happens.
 
Back
Top