Skip to main content

Backups missing on 1 server

Comments

3 comments

  • cPanelLauren
    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_log
    0
  • katmai
    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
  • cPanelLauren
    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.