2 backup related questions
1. Thru ssh, how we can disable and re-enable end user full backup feature for all users?
Some times, the server will have high load as many users/resellers are using automated cpanel backups to their remote ftp accounts thru php scripts. I want to disable and and re-enable this backup feature based on server load for all users.. I read that 95% of whm tasks can be done thru ssh, and hope that there is a command for this one also.
2. How can I modify end user cpanel backups to backup everything except the contents of their home folder?
When a user logs into cpanel and tries to generate a full backup, the resultant tar file should contain everything except the users files/folders in home folder(/home/user/ folder). I have already seen some hosts do this and could not find an option which does this.
Please help.
-
Hello :) 1. Users can access the backup generation feature if it's enabled in the feature list associated with the package assigned to their account. You can ensure the following entries are in the /var/cpanel/features/$list-name file if you want to prevent them from generating backups: backup=0 backupwizard=0
2. The only way to generate this type of backup is through the pkgacct script. EX:/scripts/pkgacct --skiphomedir $username
Thank you.0
Please sign in to leave a comment.
Comments
1 comment