Exclude specific users from daily backups using /etc/cpbackup-userskip.conf
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 ?
-
Hello, You will have to update your cPanel account file to disable any user backup. For example: root@test[~]# 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 Thanks0 -
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: root@server [~]# 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.0
Please sign in to leave a comment.
Comments
2 comments