Backups missing on 1 server
Hi guys,
So we have 4 servers, setup with incremental backups, every day: - Removed -
On Sunday, the weekly backups are taken.
I just checked today, and the Monday backups are all missing: - Removed -
When i checked the backup logs, it looks like the backups just didn't run. Any ideas what's going on or how can i debug this further?:
Running on:
[root@phhw-160403 cpbackup]# ls -la
total 21724
drwx------. 2 root root 4096 May 19 04:00 .
drwx--x--x. 8 root root 4096 May 21 05:20 ..
-rw-------. 1 root root 2395849 May 9 07:39 1557280801.log
-rw-------. 1 root root 2223591 May 10 22:16 1557453601.log
-rw-------. 1 root root 2172165 May 12 00:43 1557540001.log
-rw-------. 1 root root 3070890 May 13 15:29 1557626402.log
-rw-------. 1 root root 2389564 May 15 00:09 1557799201.log
-rw-------. 1 root root 2176074 May 15 23:22 1557885601.log
-rw-------. 1 root root 2018618 May 17 01:57 1557972001.log
-rw-------. 1 root root 2757791 May 18 07:40 1558058402.log
-rw-------. 1 root root 2979014 May 21 05:20 1558231201.log
[root@phhw-160403 cpbackup]# pwd
/usr/local/cpanel/logs/cpbackupRunning on:
- CENTOS 7.6 v78.0.24
-
Hi @katmai Can you provide the output of the following: cat /var/cpanel/backups/config
Can you also check the cPanel error logs for the timeframe where backups should have been run to determine if there's any errors? You can find it here:/usr/local/cpanel/logs/error_log0 -
I think i figured out what happened. the weekly backup took too long to complete and the monday backup got skipped :/ [2019-05-20 04:00:01 +0200] info [backup] A backup process (ID: 52563) is already running. [2019-05-20 04:00:01 +0200] info [backup] Backup log file: /usr/local/cpanel/logs/cpbackup/1558231201.log [2019-05-20 04:00:01 +0200] info [backup] To watch the backup, run: tail -f /usr/local/cpanel/logs/cpbackup/1558231201.log not sure how to sort this one out because the mail report came on the 19th and said the backup was successful. cat /var/cpanel/backups/config --- BACKUPACCTS: 'yes' BACKUPBWDATA: 'no' BACKUPDAYS: 0,1,2,3,4,5,6 BACKUPDIR: /mnt/backups BACKUPENABLE: 'yes' BACKUPFILES: 'yes' BACKUPLOGS: 'no' BACKUPMOUNT: 'no' BACKUPSUSPENDEDACCTS: 'yes' BACKUPTYPE: incremental BACKUP_DAILY_ENABLE: 'yes' BACKUP_DAILY_RETENTION: 7 BACKUP_MONTHLY_DATES: 1 BACKUP_MONTHLY_ENABLE: 'yes' BACKUP_MONTHLY_RETENTION: 1 BACKUP_WEEKLY_DAY: 0 BACKUP_WEEKLY_ENABLE: 'yes' BACKUP_WEEKLY_RETENTION: 2 CHECK_MIN_FREE_SPACE: 1 DISABLE_METADATA: 'no' ERRORTHRESHHOLD: 3 FORCE_PRUNE_DAILY: 0 FORCE_PRUNE_MONTHLY: 0 FORCE_PRUNE_WEEKLY: 0 GZIPRSYNCOPTS: --rsyncable KEEPLOCAL: 1 LINKDEST: 0 LOCALZONESONLY: 'no' MAXIMUM_RESTORE_TIMEOUT: 21600 MAXIMUM_TIMEOUT: 7200 MIN_FREE_SPACE: 5 MIN_FREE_SPACE_UNIT: percent MYSQLBACKUP: both POSTBACKUP: 'no' PREBACKUP: -1 PSQLBACKUP: 'no' 0 -
I think i figured out what happened. the weekly backup took too long to complete and the monday backup got skipped :/
Yea, based on that log entry:[2019-05-20 04:00:01 +0200] info [backup] A backup process (ID: 52563) is already running. [2019-05-20 04:00:01 +0200] info [backup] Backup log file: /usr/local/cpanel/logs/cpbackup/1558231201.log [2019-05-20 04:00:01 +0200] info [backup] To watch the backup, run: tail -f /usr/local/cpanel/logs/cpbackup/1558231201.log
That's exactly what appears to have happened. Does that occur frequently even with incremental backups enabled?BACKUPTYPE: incremental
Unless there was a lot of data added recently to the account I would be concerned they were taking so long to complete.0
Please sign in to leave a comment.
Comments
3 comments