Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Member
    Join Date
    Jan 2004
    Location
    Rossum, Overijssel, Netherlands
    Posts
    18

    Default Backup....at what time?

    I have configured WHM Backup (i'm root), but at what time WHM begins making backups?

    12 PM?? sorry for my bad english, i only help Dutch customers :P
    Regards,

    Roy/Ruben

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

    Default

    Backup is run as part of the cpanel upgrade operation. The time is set in the /var/spool/cron/root file. You will see a line something like
    55 2 * * * /scripts/upcp
    in that file, which in my case means it runs at 2:55am.

    You can change it in shell by doing
    crontab -e
    which will open the file for you to edit.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  3. #3
    Member
    Join Date
    Jan 2004
    Location
    Rossum, Overijssel, Netherlands
    Posts
    18

    Default

    Originally posted by squirrel
    Backup is run as part of the cpanel upgrade operation. The time is set in the /var/spool/cron/root file. You will see a line something like
    55 2 * * * /scripts/upcp
    in that file, which in my case means it runs at 2:55am.

    You can change it in shell by doing
    crontab -e
    which will open the file for you to edit.

    thnx, i know enough (how much load does Backup creates? backupping to remote FTP server)
    Regards,

    Roy/Ruben

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

    Default

    I want to schedule Fantastico to update right after cPanel updates & the backup is done. So how do I find out how long it take for the backups to finish?

    Oh & you said it runs durring cPanel update. Which one? I have the cPanel Package updates & Security Package updates run automatically daily BUT I do the cPanel/WHM Updates manually every weekend.

    I have my backup set to run daily in WHM so this is confusing me here. Please clarify. Thank you.

    EDIT:
    Ok so I went in & edited my /var/spool/cron/root file & below is what it says. Note the warraning at the top of this file. Is that a concern? Does this file look right?


    # DO NOT EDIT THIS FILE - edit the master and reinstall.
    # (/scripts/.crontab installed on Sat Feb 21 03:00:03 2004)
    # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
    44 4 * * * /usr/local/cpanel/3rdparty/interchange/bin/expireall -r

    0 1 * * * /scripts/upcp
    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    0 6 * * * /scripts/cleanmsglog > /dev/null 2<&1
    0 6 * * * /usr/sbin/exim_tidydb /var/spool/exim callout > /dev/null 2<&1
    0 6 * * * /usr/sbin/exim_tidydb /var/spool/exim retry > /dev/null 2<&1
    0 6 * * * /usr/sbin/exim_tidydb /var/spool/exim reject > /dev/null 2<&1
    0 6 * * * /usr/sbin/exim_tidydb /var/spool/exim wait-remote_smtp > /dev/null 2<&1
    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
    Last edited by ThunderHostingDotCom; 02-21-2004 at 09:47 AM.
    Knowledge is Power!

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

    Default

    See my reply in your other thread.

    Also, even if you have cpanel updates set to manual, /scripts/upcp still runs and does the security updates and backups, just skips the cpanel updates.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

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

    Default

    Originally posted by squirrel
    Also, even if you have cpanel updates set to manual, /scripts/upcp still runs and does the security updates and backups, just skips the cpanel updates.

    Super, that is what I was hoping to hear! Thank you.
    Knowledge is Power!

  7. #7
    Member
    Join Date
    May 2003
    Posts
    613

    Default

    Originally posted by r3diensten
    thnx, i know enough (how much load does Backup creates? backupping to remote FTP server)
    The load shoots up when backing up large accounts like 0.5 gig. The load increases when compressing the files.

    You can find out how long the backups are taking by looking at the email that you receive after the upcp process is complete. The difference between the starting time of the script and email's time will give you an idea on that.

  8. #8
    Registered User
    Join Date
    Feb 2004
    Posts
    3

    Question multiple 'daily' backups possible?

    I scheduled two daily backups using the cron info in this thread and it worked a treat except that the second backup of the day didn't start because cpanel said that there was already a backup for that day!

    I'm trying to backup at lunchtime and in the evening so that I only have to cope with the loss of half a days work instead of a full day.

    Any ideas how to do this?

  9. #9
    Member
    Join Date
    Oct 2003
    Posts
    103

    Default

    I too have configured the backup in WHM to back up to remote FTP space.

    However, when I run the /scripts/upcp script it doesn't seem to start the backup.

    Trying to restore an account keeps saying there is no /cpbackup directory.

    Cron job time configuration seems to be fine....

    Any advice please to test whether it starts properly and if not what log file would show me what fails?

    Thanks

  10. #10
    Member
    Join Date
    Oct 2003
    Posts
    103

    Default

    Also please may I have a step by step guide or link on how to restore accounts from a FTP remote backup.

    Many heartfelt thanks to those who wish to help me and point me to the right direction.

  11. #11
    Member
    Join Date
    Oct 2003
    Posts
    103

    Default

    please may someone answer, I need help and cannot find any answer through search

  12. #12
    Member
    Join Date
    Oct 2003
    Posts
    103

    Default

    up

    urgent reply needed please!

  13. #13
    Registered User
    Join Date
    Nov 2004
    Posts
    1

    Default

    if you do a cpanel backup from cpanel, just move it into /home, then from whm choose resotre a full backup/cpmove file.

    This feature will restore full backups, cpanel backups and cpanel move files in the format of: cpmove-user.tar.gz, user.tar.gz, backup-date_time_user.tar.gz

    The files must be in one of these directories on the server: /home,/usr/home,/web,/home2,/home3,/root,/usr

  14. #14
    Registered User
    Join Date
    Nov 2004
    Posts
    2

    Default

    Quote Originally Posted by squirrel
    Backup is run as part of the cpanel upgrade operation. The time is set in the /var/spool/cron/root file. You will see a line something like
    55 2 * * * /scripts/upcp
    in that file, which in my case means it runs at 2:55am.

    You can change it in shell by doing
    crontab -e
    which will open the file for you to edit.

    Hello,

    I also have a daily backup set up in WHM.
    I would like to change the date. I followed your instructions above.

    Mine says : 40 1 x x x /scripts/upcp

    does it mean it runs at 1h40 am ?

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

    Default

    It will run at 1:40am your server time. Change it to whenever the load is the lowest, but early enough in that period that the backup has time to finish before the server starts getting busy again.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. Configure backup - one time backup
    By will72wein in forum Data Protection
    Replies: 2
    Last Post: 02-09-2010, 09:47 AM
  2. Modifying the backup time
    By SecondSight in forum Data Protection
    Replies: 7
    Last Post: 12-06-2008, 10:39 PM
  3. Backup Execution Time
    By KeithRocheck in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 02-15-2005, 09:34 PM
  4. time of backup
    By nghia in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-26-2004, 06:00 PM
  5. change backup time?
    By torwill in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-27-2002, 08:04 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube