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!

Home Directory Backup Does Not Respect cpbackup-exclude.conf?

Discussion in 'Data Protection' started by feldon27, Nov 21, 2013.

  1. feldon27

    feldon27 Well-Known Member

    Joined:
    Mar 12, 2003
    Messages:
    122
    Likes Received:
    14
    Trophy Points:
    168
    Location:
    Houston, TX
    I've setup cpbackup-exclude.conf to exclude 4 directories which contain approximately 10GB of log files which we can live without in case of data loss.

    I've got a well-worn MySQL backup script that backs up the structure of our main database, but excludes about 35GB of cache tables which can be regenerated through normal site access to a public API by our customers.

    So according to the documentation, it seems that there is a bug in Home Directory backup where it excludes cpbackup-exclude.conf?
    My choices seem to be:
    • Use the Account backup and get 35GB of data in every backup that I don't need, resulting in 1TB of extra downloads per month.
    • Use Home Directory backup and get 10GB of log files in every backup that I don't need, resulting in 300GB of extra downloads per month.

    So... any chance we can get that bug fixed in Home Directory backups, or is there some workaround to respect cpbackup-exclude.conf?
     
    #1 feldon27, Nov 21, 2013
    Last edited: Nov 22, 2013
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,563
    Likes Received:
    437
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Can you share the cpbackup-exclude.conf you're using? Sounds like you've got it setup wrong somehow.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    I believe you are referring to the following note in our documentation:

    Note: If you initiate a Home Directory backup within cPanel (Home >> Backups >> Download a Home Directory Backup), the global and local exclude files will not affect the contents of the backup file.

    This is accurate. You wrote the following:

    Have you considered utilizing the pkgacct script with the --skipacctdb flag to ensure databases are not backed up?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. feldon27

    feldon27 Well-Known Member

    Joined:
    Mar 12, 2003
    Messages:
    122
    Likes Received:
    14
    Trophy Points:
    168
    Location:
    Houston, TX
    Yes, sorry for excluding the quote. And I consider that a bug. ;)


    I will take a look at that!
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    It's not considered a bug, but you are welcome to open a feature request for this via:

    Submit A Feature Request

    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