Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    oSM
    oSM is offline
    Member
    Join Date
    Aug 2001
    Posts
    45

    Default IMPORTANT: WHERE are the BACKUP cron file located?

    WHM Backup is set to backup WEEKLY. Now the funny thing is that it decides to run on a Monday at 12PM every week... Just about the BUSIEST TIME a web server gets.... MY question is simple...


    WHERE are the backup cron files located? I want to change the schedules for Cpanels backup program.

  2. #2
    Member
    Join Date
    Oct 2001
    Posts
    90

    Default

    I would also like to know this one, anyone have an answer???

    Thanks!
    Curt
    http://HostingDirect.com
    http://SwishHost.com
    http://NameRocket.com

  3. #3
    Member bert's Avatar
    Join Date
    Aug 2001
    Posts
    602

    Default

    I don't use the cpanel backup function, but look under:

    /etc/cron.weekly

    If you don't find it there, then do this:

    crontab -e

    There should be a line there for the backup, just modify it to your needs.
    Bert Kammerer
    Creator of the X Skins[/url]

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    1

    Default

    The backup script runs as part of the upcp script. You should be able to change the time that it runs by changing the time that upcp runs in your crontab.

  5. #5
    Member
    Join Date
    Oct 2001
    Posts
    97

    Default

    So, does that mean that if you have Cpanel updates set to manual only, the backups don't happen? Or, does upcp still run everything except the update when you are set to manual?

    Thanks

  6. #6
    bdraco
    Guest

    Default

    [quote:1a9b703cd3][i:1a9b703cd3]Originally posted by SonServers[/i:1a9b703cd3]

    So, does that mean that if you have Cpanel updates set to manual only, the backups don't happen?
    [/quote:1a9b703cd3]

    [quote:1a9b703cd3]Or, does upcp still run everything except the update when you are set to manual?[/quote:1a9b703cd3]
    yes

    [quote:1a9b703cd3]
    Thanks[/quote:1a9b703cd3]

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

    Default

    i notice that if one sets the backup to run weekly... it sometimes runs on a WEDNESDAY!!! How does one set it to run on a sunday or monday morning? at perhaps 2am on monday?

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

    Default

    [quote:e0b8df4a23][i:e0b8df4a23]Originally posted by bert[/i:e0b8df4a23]

    I don't use the cpanel backup function, but look under:

    /etc/cron.weekly

    If you don't find it there, then do this:

    crontab -e

    There should be a line there for the backup, just modify it to your needs.[/quote:e0b8df4a23]


    Bert:

    I did what you said and the below is what came up. Now how the heck do I set all of my backups to runon Sunday at 3am?

    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    11 5 * * * /scripts/upcp
    */5 * * * * /usr/local/cpanel/bin/dcpumon &/dev/null 2&&1
    Knowledge is Power!

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

    Default

    The cronjob file containing the schedule for cpanel updates and backing up is /var/spool/cron/root.
    The line ending with /scripts/upcp is the one that sets the time and needs to be changed.
    11 5 * * * /scripts/upcp means it is set to run at 5:11am daily.
    To run on Sunday at 3am it needs to be changed to
    0 3 * * 0 /scripts/upcp
    Monday morning 2am would be
    0 2 * * 1 /scripts/upcp
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

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

    Default

    [quote:7607fd6b1a][i:7607fd6b1a]Originally posted by squirrel[/i:7607fd6b1a]

    The cronjob file containing the schedule for cpanel updates and backing up is /var/spool/cron/root.
    The line ending with /scripts/upcp is the one that sets the time and needs to be changed.
    11 5 * * * /scripts/upcp means it is set to run at 5:11am daily.
    To run on Sunday at 3am it needs to be changed to
    0 3 * * 0 /scripts/upcp
    Monday morning 2am would be
    0 2 * * 1 /scripts/upcp[/quote:7607fd6b1a]


    Is this right? This is what i did and got:
    cd /etc/cron.weekly
    then
    crontab -e
    then I made the changes so my backup will run at 3am every day. EG:
    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    0 3 * * * /scripts/upcp
    */5 * * * * /usr/local/cpanel/bin/dcpumon &/dev/null 2&&1
    Knowledge is Power!

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

    Default

    [quote:7492c37b2b][i:7492c37b2b]Originally posted by ThunderHostingDotCom[/i:7492c37b2b]

    [quote:7492c37b2b][i:7492c37b2b]Originally posted by squirrel[/i:7492c37b2b]

    The cronjob file containing the schedule for cpanel updates and backing up is /var/spool/cron/root.
    The line ending with /scripts/upcp is the one that sets the time and needs to be changed.
    11 5 * * * /scripts/upcp means it is set to run at 5:11am daily.
    To run on Sunday at 3am it needs to be changed to
    0 3 * * 0 /scripts/upcp
    Monday morning 2am would be
    0 2 * * 1 /scripts/upcp[/quote:7492c37b2b]


    Is this right? This is what i did and got:
    cd /etc/cron.weekly
    then
    crontab -e
    then I made the changes so my backup will run at 3am every day. EG:
    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    0 3 * * * /scripts/upcp
    */5 * * * * /usr/local/cpanel/bin/dcpumon &/dev/null 2&&1[/quote:7492c37b2b]

    I've never edited my cron jobs with the crontab command. I just played with it now and found out it doesn't matter what directory you are in to start. The actual file you edited is /var/spool/cron/root but you did it through the ssh function. I just download, edit, and upload mine.

    Yes, the line 0 3 * * * /scripts/upcp does mean 3am daily.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. where is the file manager located??
    By jem in forum New User Questions
    Replies: 1
    Last Post: 05-05-2009, 09:28 PM
  2. Package file located?
    By HDG in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-12-2008, 04:33 PM
  3. Where is the user's cron files located?
    By kickedmydog in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-22-2005, 02:14 PM
  4. where does user's cron files located?
    By markhard in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-04-2004, 10:45 PM
  5. where is the mysql database/user file located in the full backup zip?
    By lonea in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-01-2004, 02:26 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube