hello everyone, how can i disable gzip -c when user backup in Cpanel?
gzip -c make too hight CPU load for my server.
hello everyone, how can i disable gzip -c when user backup in Cpanel?
gzip -c make too hight CPU load for my server.
I guess you edit /scripts/cpbackups
Several problems with that though:
1. Everytime you upgrade cPanel you'll have to make the change again
2. You won't be able to perform a restore using WHM, you'll have to do restores manually from the root shell
3. Your backups will be immense in size because nearly all the files will likely be text which gzip compresses greatly
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Originally posted by chirpy
1. Everytime you upgrade cPanel you'll have to make the change again
not if you chattr +i it
Rack911.com - Competent Server Administration
Server Security - Administration - Managed Servers - Optimization - High Traffic Clusters
Then it never gets updated, which means you may not get some enhancements (if any).Originally posted by TLG
not if you chattr +i it
Regards,
David
Forum Moderator
As dgbaker points out,
chattr +i is a very dangerous command and should never be used lightly. If you do that on any cPanel specific file you could easily open yourself up to exploits and bugs in the future that would have been fixed after an upgrade had you left well alone. It's much better to modify the file and keep a check on it after upgrades and then apply a diff file to patch it again.
Last edited by chirpy; 05-30-2004 at 05:21 PM.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
There is a script which can monitor the file and help when it gets changed. You get the script by squirrel over on our forum in the HowTo area.
Regards,
David
Forum Moderator
Thanks![]()
hello chirpy, i can't find any "-c" in /scripts/cpbackup
could you write down how to do, please?