This object is in archive! 
cpbackup parse userskip file AFTER precpbackup
Open Discussion
We have cpbackup configured to use the /scripts/precpbackup script.
We are actually updating the /etc/cpbackup-userskip.conf file with precpbackup, but this is not being applied because the userskip file is being read BEFORE the precpbackup script gets a change to run:
Line 274... of /scripts/cpbackup:
if ( open my $userskip_fh, '<', '/etc/cpbackup-userskip.conf' ) { while (<$userskip_fh>) { chomp; $SKIPUSERS{$_} = 1; } close $userskip_fh;}
line 491 of /scripts/cpbackup:
system '/usr/local/cpanel/scripts/precpbackup';
Fixing this is simple. Please either:
1) Move the userskip loading after line 491.
or
2) Run precpbackup at the top of the script BEFORE userskip gets read.
Replies have been locked on this page!