Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 16 to 30 of 31
  1. #16
    Member
    Join Date
    Sep 2001
    Posts
    189

    Default

    question to cpanel programmers - what is a reason to include log files into backup??
    Alex Andreyev,
    http://www.WHost.INFO - NEW web hosting directory.

  2. #17
    oSM
    oSM is offline
    Member
    Join Date
    Aug 2001
    Posts
    45

    Default

    lol.. very true.. WHY do we need to waste extra resources with logfiles? It doesnt help at all and they are HUGE!!!!

  3. #18
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Not all log files really do need to be backed up, and not all users want to keep the different log files for the same length of time either. That's when we get into technical stuff by each customizing our system for our own needs.
    I have my error logs being cleaned every Monday morning. The previous weeks error_log file is saved compressed over the last one and a new file is started.
    Every now and then I go in and clean up some of the other log files.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  4. #19
    Member
    Join Date
    Nov 2002
    Location
    All over!
    Posts
    452

    Default

    [quote:2484aa0c38][i:2484aa0c38]Originally posted by squirrel[/i:2484aa0c38]

    Not all log files really do need to be backed up, and not all users want to keep the different log files for the same length of time either. That's when we get into technical stuff by each customizing our system for our own needs.
    I have my error logs being cleaned every Monday morning. The previous weeks error_log file is saved compressed over the last one and a new file is started.
    Every now and then I go in and clean up some of the other log files.[/quote:2484aa0c38]


    Cool web site! How do I configure my server to clean my log files every week?
    Knowledge is Power!

  5. #20
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    I'm not sure if there would be problems with cleaning up the logs used for bandwidth monitoring or not so I leave those ones. I just clean up the ones I know can be safely removed. I use a simple script to clean the error logs weekly, and about once a month I go through the rest of them and manually delete the ones I know can be deleted.
    There are likely others who automatically clean up other log files and might know for sure which ones are safe for removing.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  6. #21
    Member
    Join Date
    Aug 2001
    Posts
    173

    Default

    I would like to see more options for the backup part of cpanel, such as:

    1) telling it what i want backing up - essential files, log files, mysql etc.. maybe a tick box for each?
    2) Would be nice to set a time, from WHM for when the backup runs.

    and for the log runner, again, it would be nice to set a time for this to start &running& so to speak in WHM. As sometimes we get an overlap where its running logs and backing up, causing high loads.

    Just my thoughts

    Craig.
    Craig Robinson - UKDedicated LTD
    UK Dedicated Servers, Managed Dedicated Servers and Colocation at Centro, Hemel Hempstead.

  7. #22
    Member
    Join Date
    Sep 2001
    Posts
    251

    Default

    I'd like some more options as to what gets backed up and possibly some kind of options file that could be put into directories one didn't want backed up (or at the very least on file with a list of directories/users not to be backed up).

  8. #23
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    I posted early on in this thread that my loads were fine during backup.. however since then I started using the backup scripts built into cPanel. Before I was using another. They both do almost exactalyl teh same thing. The main difference is before it would finish in half the time and now It takes hours and I get loads at 15.00 for an hour. Nothing works but backup. sites timeout ..people driving me nuts. This is at 3AM and with almost no traffic on a dual box with 1GB ram also.

    any help ..suggestions would be great!!!
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  9. #24
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2003
    Location
    Gothenburg, Sweden
    Posts
    323

    Default Still getting high load..

    cpbackup --delete seems to be running at 10:30am.. that's not overly healthy
    When we did a manual delete of all backup files it took about 6 hours time.. And load was up quite a bit.

    Is the cPanel backup still screwed? Any alternatives? Any future fixes?

    upcp is set to run at 00:58...

    Anyone?


    (running stable release, on a 1.3 Ghz AMD single CPU with 1GB RAM and about 200 accounts)

    twitter: oderland_david

  10. #25
    Member
    Join Date
    Nov 2002
    Location
    All over!
    Posts
    452

    Default

    It seems to me noone at cPanel plans to answer this HUGE problem! Has anyone put in a feature request? Has anyone put in a trouble ticket & actually received a reply? Let me know because I am having the same problem. Thanks.
    Last edited by ThunderHostingDotCom; 06-14-2003 at 04:03 PM.
    Knowledge is Power!

  11. #26
    Member
    Join Date
    Nov 2002
    Location
    All over!
    Posts
    452

    Default

    Originally posted by squirrel
    I use a simple script to clean the error logs weekly.

    Could you tell me what script you use & where I can find it? Also can you tell me the steps I would have to take to do what you do with your error logs? Keep in mind I am a novice. Thanks.
    Last edited by ThunderHostingDotCom; 06-14-2003 at 04:02 PM.
    Knowledge is Power!

  12. #27
    Member
    Join Date
    Nov 2002
    Location
    All over!
    Posts
    452

    Default cron jobs

    1) I have seen like 3 different cron files people have instructed others to edit. Why are there so many different cron files in so many different places? Can someone provide a list of them all and what each one handels?
    2) How can I see if my backup completed without any errors & how long in total it took to run? Is there a log file I can look at or can we have the server email us like cPanel does daily after an update?
    4) Where can I find how to properly create a cron job?
    5) I want to have my server start a daily backup at 2am and a cPanel update right after that. What file would I edit & what would the cron job be for both of these?

    Below is what my /var/spool/cron/root file has in it. I am lost as to what these crons are doing. Can anyone tell me? Thanks in advance for your help.

    # DO NOT EDIT THIS FILE - edit the master and reinstall.
    # (/scripts/.crontab installed on Sat Jun 14 03:00:03 2003)
    # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)

    0 3 * * * /scripts/upcp
    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
    Last edited by ThunderHostingDotCom; 06-14-2003 at 04:17 PM.
    Knowledge is Power!

  13. #28
    Member
    Join Date
    Jun 2002
    Posts
    67

    Default

    does it better to backup to another server via rsync? doesn't it is better to backup within the same server? I know it will use little bit more bandwidth per month, but I guess with rsync I can have most recent backup ready.

    Thanks.

    cPanel.net Support Ticket Number:
    Stenny

  14. #29
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Originally posted by ThunderHostingDotCom
    Could you tell me what script you use & where I can find it? Also can you tell me the steps I would have to take to do what you do with your error logs? Keep in mind I am a novice. Thanks.

    I PM'd you.

    cPanel.net Support Ticket Number:
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  15. #30
    Member
    Join Date
    Feb 2003
    Posts
    76

    Cool

    Hello Mike,

    If possible , please send me the information too on which logs can be deleted and which cannot be. We too have had severe backup issues and we had to resort to disabling daily backups.

    We now only do weekly backups and it definitely helps in keeping the server load in check. But I would surely like to know which logs can be pruned to ensure the process goes off without any much loads.

    Warm Regards,

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 07-14-2011, 03:10 AM
  2. Backup-Only cPanel Server for Account-Backup Storage and Retrieval
    By bjarne in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 03-04-2010, 04:22 PM
  3. Replies: 0
    Last Post: 01-22-2010, 05:53 PM
  4. cpbackup bogs down server
    By ANewDay in forum Data Protection
    Replies: 11
    Last Post: 06-30-2007, 04:47 PM
  5. cpbackup bogs down server
    By ANewDay in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 06-30-2007, 04:47 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube