The backup process completed, but 6 errors occurred

ttremain

Well-Known Member
Feb 16, 2003
237
1
168
cPanel Access Level
Root Administrator
As of a couple days ago, the cPanel backup is trying to backup 6 databases that are no longer on the server.

The backup process encountered the following errors:

sap_mah[2017-01-07 02:23:15 -0800] sap_mah: mysqldump: Got error: 1049: Unknown database 'sap_mah' when selecting the database

(and 5 other databases in the same account)

Where is the backup script getting this list?

Please advise.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello,

Do directories for these databases exist under the /var/lib/mysql directory?

Thank you.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

Can you confirm if there is'nt any entry for these databases in the cPanel account of the user?
Can you try executing the backup for this particular account manually again to see it fetches the database when doing it manually?
 

SysSachin

Well-Known Member
Aug 23, 2015
604
48
28
India
cPanel Access Level
Root Administrator
Twitter
Hello,

sap_mah[2017-01-07 02:23:15 -0800] sap_mah: mysqldump: Got error: 1049: Unknown database 'sap_mah' when selecting the database
It seems that there is directory "sap_mah" under the /var/lib/mysql directory or added that directory name in MySQL backup script. Please make sure if there is not added any script in the cron
You have to check through command line using below command

Code:
crontab -e
 

ttremain

Well-Known Member
Feb 16, 2003
237
1
168
cPanel Access Level
Root Administrator
Can you confirm if there is'nt any entry for these databases in the cPanel account of the user?
Can you try executing the backup for this particular account manually again to see it fetches the database when doing it manually?
I can confirm this. I even created the databases through cPanel, then removed them again to see if something residual, might get cleaned up.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
I can confirm this. I even created the databases through cPanel, then removed them again to see if something residual, might get cleaned up.
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.