Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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 ?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,872
    Likes Received:
    89
    Trophy Points:
    78
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice