Exclude specific users from daily backups using /etc/cpbackup-userskip.conf

kjlord

Member
Feb 8, 2011
8
0
51
If file /etc/cpbackup-userskip.conf is manually edited or added few cpanel users in the file [using SSH] will it work as excepted ?
Or It is must to use WHM interface for it.

Is there any file need to update after modifying /etc/cpbackup-userskip.conf file ?
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

You will have to update your cPanel account file to disable any user backup.

For example:

Code:
[email protected][~]# grep BACKUP /var/cpanel/users/test01
BACKUP=1
LEGACY_BACKUP=1
As per the above output, I can see both backups are enable for this account


Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello :)

Yes, as mentioned in the previous post, the method you have described was replaced by a value in the cPanel user file for the account. For example:

Code:
[email protected] [~]# grep BACKUP /var/cpanel/users/cptest01
BACKUP=1
LEGACY_BACKUP=1
The above output will occur on accounts with backups enabled on both the new and legacy systems. Setting the values to 0 will disable backups for that account.

Thank you.