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!

Purpose of /usr/local/cpanel/etc/cpbackup-exclude.conf

Discussion in 'Data Protection' started by ottdev, Mar 3, 2018.

Tags:
  1. ottdev

    ottdev Well-Known Member

    Joined:
    Oct 1, 2013
    Messages:
    114
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Is this part of the install files only ?
    /usr/local/cpanel/etc/cpbackup-exclude.conf

    i.e. does this get copied to /etc/cpbackup-exclude.conf to populate some initial defaults for us, end then /usr/local/cpanel/etc/cpbackup-exclude.conf is never used again?

    i.e. if we add anything to this files, it has no effect, and if so, safe to delete it?
    (to avoid confusion)
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    779
    Likes Received:
    274
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Infopro likes this.
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    The /etc/cpbackup-exclude.conf file is the copy you should edit to add more exclusions. The /usr/local/cpanel/etc/cpbackup-exclude.conf file includes the system's default exclusions. The exclusions from both files are merged at backup time via the a Pkgacct call.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    ottdev likes this.
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