Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

The backup process completed, but 6 errors occurred

Discussion in 'Data Protection' started by ttremain, Jan 7, 2017.

Tags:
  1. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,391
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    The directories do not exist.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    42
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    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
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    I can confirm this. I even created the databases through cPanel, then removed them again to see if something residual, might get cleaned up.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,391
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice