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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable end-user from downloading system backup

Discussion in 'Data Protection' started by iso99, Oct 19, 2016.

Tags:
  1. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    104
    Likes Received:
    7
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Hi,

    Is there a way (even a messy workaround) to hide or disable a cPanel user from downloading his full backup that was generated by WHM's backup feature?

    I tried disabling a specific user as well as the backup configuration itself, but existing backups are still displayed in cPanel's backup page.

    I'm moving my local backup storage to a network filesystem and I don't want users to directly retrieve backups from it.

    Thanks!
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    334
    Likes Received:
    95
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I have the cPanel backups made to a separate hard drive which I mount/unmount to make the backups.
    The Mount Backup Drive as Needed.is enabled, and the Default Backup Directory is configured to reflect the mounted dir of the drive.

    As far as the user is concerned, since the drive is unmounted, no backups are visible for download from the users cPanel except for the short time during the actual backup process (in the middle of the night :) ).
     
    cPanelMichael likes this.
  3. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    104
    Likes Received:
    7
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I saw that option in WHM, I was wondering how would it work with sshfs?
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    334
    Likes Received:
    95
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Sorry, I have never tried it with anything other than an attached physical drive.
     
    iso99 likes this.
  5. cPLevey

    cPLevey Technical Analyst Supervisor
    Staff Member

    Joined:
    Dec 3, 2015
    Messages:
    44
    Likes Received:
    8
    Trophy Points:
    83
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hey @iso99

    Using WHM's Feature Manager, if you disable the 'Backup Manager' and 'Backup Wizard' features, cPanel account user's shouldn't be able to download account backups.

    I hope this helps!
     
  6. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    104
    Likes Received:
    7
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I still want my users to be able to backup their files and databases, but I just want them to not retrieve the weekly backups generated by WHM.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The information provided by @rpvw earlier in this thread is a suitable workaround for the functionality you are seeking. Regarding network mounts, here's the advice we document at Backup Configuration:

    I also encourage you to submit a feature request for the ability to disable system backups from the "Backups" interface in the cPanel UI:

    Submit A Feature Request

    Thanks!
     
    iso99 likes this.
  8. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    104
    Likes Received:
    7
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Yeah, I figured a network mount would be unstable. I've decided to add a new drive instead as a backup storage.

    Thanks!
     
    cPanelMichael likes this.
Loading...

Share This Page