Disable end-user from downloading system backup
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!
-
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 :) ). 0 -
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 :) ).
I saw that option in WHM, I was wondering how would it work with sshfs?0 -
Sorry, I have never tried it with anything other than an attached physical drive. 0 -
I saw that option in WHM, I was wondering how would it work with sshfs?
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: We strongly recommend that you do not perform backups to remote filesystems (for example; NFS, CIFS, smbfs, or other types of network drive systems). While you can store a backup directly to a remote filesystem, cPanel & WHM does not support this configuration. We strongly recommend that you work with a qualified system administrator to manage this custom backup path to avoid potential risks.
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!0 -
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!
Yeah, I figured a network mount would be unstable. I've decided to add a new drive instead as a backup storage. Thanks!0
Please sign in to leave a comment.
Comments
7 comments