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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    104
    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:
    631
    Likes Received:
    200
    Trophy Points:
    43
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Infopro likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,247
    Likes Received:
    1,759
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    ottdev likes this.
Loading...

Share This Page