The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    9
    Likes Received:
    1
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page