Backups Not Pruning
I'm having an issue with two of my servers not pruning backups.
One of them won't prune old backups whatsoever. It's set to retain 3 daily, 2 weekly, and 2 monthly. I'm lucky with this one as it has more space and I have to go in and prune them manually every few weeks.
The other server is very tight with disk space. Even a single extra backup is too much. It's set to 2 daily, 1 weekly, and 1 monthly. This server will prune the weekly and monthly backups correctly, but not the daily. It always keeps 3 backups.
All backups on both servers are stored locally, there isn't any remote backup.
-
Hello, Could you verify which version of cPanel is installed on each system? Also, please post the contents of the /var/cpanel/backups/config file on these systems. Thank you. 0 -
Server 1: WHM 64.0 Build 22 [Being updated to build 24 this morning, was blocked because of insufficient disk space.] BACKUPACCTS: 'yes' BACKUPBWDATA: 'yes' BACKUPDAYS: 2,4 BACKUPDIR: /backup BACKUPENABLE: 'yes' BACKUPFILES: 'yes' BACKUPLOGS: 'no' BACKUPMOUNT: 'no' BACKUPSUSPENDEDACCTS: 'no' BACKUPTYPE: compressed BACKUP_DAILY_ENABLE: 'yes' BACKUP_DAILY_RETENTION: 2 BACKUP_MONTHLY_DATES: 1 BACKUP_MONTHLY_ENABLE: 'yes' BACKUP_MONTHLY_RETENTION: 1 BACKUP_WEEKLY_DAY: 6 BACKUP_WEEKLY_ENABLE: 'yes' BACKUP_WEEKLY_RETENTION: 1 ERRORTHRESHHOLD: 3 GZIPRSYNCOPTS: --rsyncable KEEPLOCAL: 1 LINKDEST: 0 LOCALZONESONLY: 'no' MAXIMUM_RESTORE_TIMEOUT: 21600 MAXIMUM_TIMEOUT: 7200 MYSQLBACKUP: accounts POSTBACKUP: 'no' PREBACKUP: -1 PSQLBACKUP: 'no' Server 2: WHM 64.0 Build 24 BACKUPACCTS: 'yes' BACKUPBWDATA: 'yes' BACKUPDAYS: 2,4 BACKUPDIR: /home/backup BACKUPENABLE: 'yes' BACKUPFILES: 'yes' BACKUPLOGS: 'no' BACKUPMOUNT: 'no' BACKUPSUSPENDEDACCTS: 'no' BACKUPTYPE: compressed BACKUP_DAILY_ENABLE: 'yes' BACKUP_DAILY_RETENTION: 3 BACKUP_MONTHLY_DATES: 1 BACKUP_MONTHLY_ENABLE: 'yes' BACKUP_MONTHLY_RETENTION: 1 BACKUP_WEEKLY_DAY: 0 BACKUP_WEEKLY_ENABLE: 'yes' BACKUP_WEEKLY_RETENTION: 2 ERRORTHRESHHOLD: 3 GZIPRSYNCOPTS: --rsyncable KEEPLOCAL: 1 LINKDEST: 0 LOCALZONESONLY: 'no' MAXIMUM_RESTORE_TIMEOUT: 21600 MAXIMUM_TIMEOUT: 7200 MYSQLBACKUP: accounts POSTBACKUP: 'no' PREBACKUP: -1 PSQLBACKUP: 'no' 0 -
Hello, Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments