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!

How to exclude MySQL table from cPanel backup?

Discussion in 'Data Protection' started by BobSmith123, Feb 13, 2016.

  1. BobSmith123

    BobSmith123 Member

    Joined:
    Apr 5, 2015
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    USA
    cPanel Access Level:
    Website Owner
    Hello,

    How can I exclude a specific table from being backed up using cPanel's built-in backup feature? I have a table that I'm storing on my HDD and it causes my server to crash when cPanel runs its backup (because the table is large and on a traditional HDD instead of an SSD). For now, I've had to disable cPanel backup because of this issue. However, I would like to be able to use cPanel backup to backup everything expect that specific table (note: its a table, not a whole database).

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,400
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    The current automated backup options for MySQL databases are documented here:

    Backup Configuration - Documentation - cPanel Documentation

    Note that it's not currently possible to exclude specific tables unless you develop a custom script that manually dumps a database with custom options using the "mysqldump" utility.

    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