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.

/etc/cpbackup-exclude.conf and mysql

Discussion in 'Data Protection' started by rclemings, Jun 21, 2012.

  1. rclemings

    rclemings Member

    Joined:
    Nov 5, 2007
    Messages:
    23
    Likes Received:
    1
    Trophy Points:
    3
    In WHM >> Main >> Backup >> Configure Backup I have checked "Per Account and Entire MySQL Directory" under "Backup SQL Databases." However, the eximstats database is really huge and I'd like to save space by excluding it from the backup. Is that possible?

    I thought I could do it by listing its directory in /etc/cpbackup-exclude.conf but nothing seems to work (i.e., the directory is backed up anyway). I wasn't sure of the syntax so I tried all of these:

    /var/lib/mysql/eximstats
    /var/lib/mysql/eximstats/
    /var/lib/mysql/eximstats/*
    var/lib/mysql/eximstats
    var/lib/mysql/eximstats/
    var/lib/mysql/eximstats/*
    */var/lib/mysql/eximstats
    */var/lib/mysql/eximstats/
    */var/lib/mysql/eximstats/*
    *var/lib/mysql/eximstats*
     
Loading...

Share This Page