The backup process completed, but 2 errors occurred

Nirjonadda

Well-Known Member
May 8, 2013
724
27
78
cPanel Access Level
Root Administrator
I am getting email about The backup process completed, but 2 errors occurred. What the fix for this issue?

Code:
The system started a separate transport process for remote backup destinations. When the transport completes, the system will send an additional notification with the status of the transport if any errors were encountered.

The backup process encountered the following errors:
[2018-04-20 02:36:54 +0600] user_database: mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
warn [pkgacct] user_database: mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
Hi @Nirjonadda

Based on that output it seems as though MySQL was not responding when the MySQL dump portion of the backup took place or it was not running. Can you confirm if it is now running?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
Hello,

That's great, it does seem to have been down during the backup process and the only way to test is to run another backup. You can do this one of two ways:

- via CLI initiate the backup process with the following:
Code:
/usr/local/cpanel/bin/backup --force
- Wait for the automated backup process to initiate on its own

In either case, I would monitor the system during the backup process to ensure that the server continues to function normally.


Thank you,