Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Feb 2005
    Posts
    17

    Default Modifying Backup

    The majority of my users host large video files which make up the majority of the space used.

    Is there a way to modify the Backup option so it doesn't actually backup files that are greater than 5MB in size?

  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

    You'd have to modify /scripts/cpbackup to do that. Be aware that a upcp update will overwrite it, though, so you'd be better off taking a copy of it, modify that and then change the root crontab to run your script rather than the default one.
    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 PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    The /scripts/cpbackup does get overwritten when upcp runs, but it's rarely changed, so if you do want to modify that script, you may want to use my watchwwwacct script. With minor modifications it can be used to watch for, and undo, changes to pretty much any file.

    You would have a copy of the original script, and a copy of your modified version, and if an update writes the file back to it's original, my script will automatically put back your modified version.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. Modifying the backup time
    By SecondSight in forum Data Protection
    Replies: 7
    Last Post: 12-06-2008, 10:39 PM
  2. Modifying an Account
    By Jasonbd in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-07-2004, 09:19 AM
  3. Modifying account name
    By maxim1 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-05-2004, 05:35 PM
  4. I need help modifying my backup script
    By dianaward in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-21-2004, 07:10 PM
  5. MX Record not Modifying...
    By Kylecool in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-04-2001, 07:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube