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

ottdev

Well-Known Member
Oct 1, 2013
136
6
68
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)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
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)
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.
 
  • Like
Reactions: ottdev