Introduction
cPanel backups may end with a Partial failure status similar to the following in the /usr/local/cpanel/logs/cpbackup/{timestamp}.log file:
info [backup] Final state is Backup::PartialFailure (0)
info [backup] Sent Backup::PartialFailure notification.
The command below will show what exactly triggers the Partial Failure
Procedure
Command:
grep -F "$(awk -F'/' '/ERROR_PATTERNS =/,/]/ { if ($2) print $2; }' /usr/local/cpanel/bin/backup)"
For example:
grep -F "$(awk -F'/' '/ERROR_PATTERNS =/,/]/ { if ($2) print $2; }' /usr/local/cpanel/bin/backup)" /usr/local/cpanel/logs/cpbackup/1622012404.log
[2021-05-26 02:20:21 -0500] mysqldump: Couldn't execute ' fields from `testcP_woocommerce_sessions`': Table './database_Name/testCP_woocommerce_sessions' is marked as crashed and should be repaired (145)
Comments
0 comments
Article is closed for comments.