Backup PartialFailure notification?

webdsn

Active Member
Mar 4, 2018
40
2
8
Taiwan
cPanel Access Level
Root Administrator
I have a Server backup mode set to Incremental
Retention parameter is set to 1

The backup data of yesterday should be deleted after the backup is completed today.

But when I checked the backup data, I found that there were several days of backup data.

when I check backup log
I saw some error messages at the end of the log file.

[2018-09-17 06:43:03 +0800] warn [backup] Pruning of backup files skipped due to errors. at /usr/local/cpanel/bin/backup line 392.
bin::backup::run("bin::backup") called at /usr/local/cpanel/bin/backup line 120
[2018-09-17 06:43:10 +0800] info [backup] Scheduling backup metadata vacuum
[2018-09-17 06:43:10 +0800] info [backup] Queuing transport reporter
[2018-09-17 06:43:10 +0800] info [backup] no_transport = 0 .. and queueid = TQ:TaskQueue:2231
[2018-09-17 06:43:10 +0800] info [backup] leaving queue_backup_transport_item
[2018-09-17 06:43:10 +0800] info [backup] Completed at Mon Sep 17 06:43:10 2018
[2018-09-17 06:43:10 +0800] info [backup] Final state is Backup::PartialFailure (0)
[2018-09-17 06:43:10 +0800] info [backup] Sent Backup::PartialFailure notification.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hello @webdsn

This just indicates that there were errors in the backup that caused it to fail to back something up - you'll need to look through the logs to identify the errors which led to this result. The default behavior of the automated backup system is *not* to remove partially failed backups. The documentation on backup retention behavior may be helpful here: Backup Configuration - Version 74 Documentation - cPanel Documentation
 

webdsn

Active Member
Mar 4, 2018
40
2
8
Taiwan
cPanel Access Level
Root Administrator
Hello @webdsn

This just indicates that there were errors in the backup that caused it to fail to back something up - you'll need to look through the logs to identify the errors which led to this result. The default behavior of the automated backup system is *not* to remove partially failed backups. The documentation on backup retention behavior may be helpful here: Backup Configuration - Version 74 Documentation - cPanel Documentation
Thankk your reply
so the default option if I backup have failed message
the old backup will not delete ?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hi @webdsn

By default, if the backup fails retention will NOT be enforced. If you would like to force retention then you will need to enable the Strictly enforce retention option as indicated in the documentation