How to limit cpanel backup feature only to accounts under 10 GB size?
Hello,
I have seen a few hosting providers with a limit where they do not allow customers to use the cpanel backup utility if their account is more than 10GB in size (or 10k inodes).
How can this be done? We have a few customers who have VERY large accounts, and it kills the server when they try to create a backup.
We would like to restrict the cpanel backup utility to only customers with x GB in size or X number of inodes.
Thanks!
-
Hey there! There isn't a feature that would exactly do this, but you could remove the Backup and Backup Wizard tools from packages you provide to users where the quota limit is larger than 10G. 0 -
Any idea how some hosting companies are doing this? For example, there is one provider I tested out... I uploaded about 11 GB of files, and then I clicked the link to go into the backup or backup wizard. I received a message that says, "Sorry, but this backup feature is not available if your disk space usage is greater than 10 GB." This message ONLY appears if the account actually has more than 10GB in it. (It is not depending on package assigned.) I know this because I deleted a few files so the account had 9.5gb of disk usage... and the backup and backup wizard functions started working as normal. Any idea how they are doing that? This is a terrific feature to have, because it stops high disk usage accounts from killing the server if they do a Full Backup. Thanks. 0
Please sign in to leave a comment.
Comments
3 comments