Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Mar 2004
    Location
    CN
    Posts
    200

    Default how can i disable gzip -c in backup?

    hello everyone, how can i disable gzip -c when user backup in Cpanel?
    gzip -c make too hight CPU load for my server.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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

  3. #3
    Member
    Join Date
    Jan 2004
    Posts
    252

    Default

    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

  4. #4
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Originally posted by TLG
    not if you chattr +i it
    Then it never gets updated, which means you may not get some enhancements (if any).
    Regards,
    David
    Forum Moderator

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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

  6. #6
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    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

  7. #7
    Member
    Join Date
    Mar 2004
    Location
    CN
    Posts
    200

    Default

    Thanks

  8. #8
    Member
    Join Date
    Mar 2004
    Location
    CN
    Posts
    200

    Default

    hello chirpy, i can't find any "-c" in /scripts/cpbackup
    could you write down how to do, please?

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 10-24-2008, 08:41 PM
  2. Disable backup for new accounts?
    By erinspice in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-31-2007, 03:14 PM
  3. How to disable mysql backup using cpanel backup
    By oumind in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-16-2007, 09:49 PM
  4. CPBackup - Disable GZIP?
    By hoobastank68 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-11-2006, 05:41 AM
  5. gzip: stdin: not in gzip format
    By SuperBaby in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-10-2004, 03:43 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube