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.

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

Discussion in 'Data Protection' started by kjlord, Dec 29, 2014.

  1. kjlord

    kjlord Member

    Joined:
    Feb 8, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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 ?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

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

    For example:

    Code:
    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


    Thanks
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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:
    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.
     
Loading...

Share This Page