mysql crashed in the middle of manual cpanel full backup

xrvel

Member
Oct 25, 2014
17
3
3
cPanel Access Level
Root Administrator
Hello.

I wonder what happened if mysql process is crashed in the middle of manual cpanel full (file + database) backup.
Will the cpanel service resume the backup process once mysql is recovered again?
If so, how cpanel knows what table was previously in progress of backup?

Thank you.
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

cPanel will not stop backup process if your MySQL services is down, You will get the MySQL error in your backup logs file and your databases will get blank databses in that cPanel backup file
 

chrisnagios

Member
Feb 4, 2010
19
0
51
generally, cPanel backups are not reliable, there are lot of bugs and issues
and things do not work as expected in many cases.

in fact, there is not even a verification that backups are consistent after
creation, its just a blind tarring of files and dump of db, if it works, else who cares ...
 

xrvel

Member
Oct 25, 2014
17
3
3
cPanel Access Level
Root Administrator
generally, cPanel backups are not reliable, there are lot of bugs and issues
and things do not work as expected in many cases.

in fact, there is not even a verification that backups are consistent after
creation, its just a blind tarring of files and dump of db, if it works, else who cares ...
what is your suggestion about reliable backup -- at least DB backup.
What service should i use?
 

xrvel

Member
Oct 25, 2014
17
3
3
cPanel Access Level
Root Administrator
Just an update, i used this : :)
Code:
mysqldump --opt --single-transaction -uXXXXX -pYYYY DATABASE_NAME > /home/export.sql
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Just an update, i used this : :)
Code:
mysqldump --opt --single-transaction -uXXXXX -pYYYY DATABASE_NAME > /home/export.sql
I am happy to see you were able to get the database backed up successfully. Thank you for updating us with the outcome.