Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member Data 1's Avatar
    Join Date
    May 2008
    Posts
    104

    Default Backup question

    All my Cpanel servers runs a backup at midnight my time.

    This poses a problem for one dedicated server customer in South Africa. His peak time is 8AM his time, ZA is +7 of EST where the servers are located.

    I can't find where to set what time the backup starts. I would rather not change the server zone time but will if I have to.

    Can backup start time be adjusted?

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    Quote Originally Posted by Data 1 View Post
    All my Cpanel servers runs a backup at midnight my time.

    This poses a problem for one dedicated server customer in South Africa. His peak time is 8AM his time, ZA is +7 of EST where the servers are located.

    I can't find where to set what time the backup starts. I would rather not change the server zone time but will if I have to.

    Can backup start time be adjusted?
    In my understanding, you can adjust the time on the by editing the root cron /scripts/cpbackup to achieve what you want. However, I am open to suggestions if there are other ways.

    root@cpanel [/var/spool/cron]# cat root |grep cpbackup
    0 1 * * * /scripts/cpbackup
    Last edited by JawadArshad; 11-26-2009 at 07:59 AM.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  3. #3
    Member Data 1's Avatar
    Join Date
    May 2008
    Posts
    104

    Default

    Thank you.

    So for 7PM server time it would be:
    0 19 * * * /scripts/cpbackup

    Do I have to restart any services after changing the file to read the changed schedule?

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    Quote Originally Posted by Data 1 View Post
    Thank you.

    So for 7PM server time it would be:
    0 19 * * * /scripts/cpbackup

    Do I have to restart any services after changing the file to read the changed schedule?
    Restarting crond service is a good idea at this moment
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  5. #5
    Member Data 1's Avatar
    Join Date
    May 2008
    Posts
    104

    Default

    service crond restart I imagine-

    Thank you very much for your help

  6. #6
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb WHM Plugin to Configure cPanel Cron Times

    There is an optional plug-in for WHM that allows editing the scheduled time of the cron tab entries for cPanel updates ("upcp") and for cPanel backups ("cpbackup"); this is available at the following menu path in WHM:

    WHM: Main >> cPanel >> Manage Plugins
    * cronconfig: Allows user to edit cPanel cron settings/program run times

    Related documentation: Manage Plugins

    After the "cronconfig" plug-in is installed, a browser refresh of WHM will reveal the new feature at the following menu path:
    WHM: Main >> Plugins >> Configure cPanel Cron Times

  7. #7
    Member Data 1's Avatar
    Join Date
    May 2008
    Posts
    104

    Default

    Thank you cPanelDon, it seemed fundamental so I figured there was a "cpanel" way to do this. The other method did work great of course.

Similar Threads & Tags
Similar threads

  1. Backup Question
    By cerdovolador in forum Data Protection
    Replies: 6
    Last Post: 05-04-2010, 09:56 AM
  2. Backup question
    By ljesh in forum Data Protection
    Replies: 5
    Last Post: 02-28-2009, 03:32 AM
  3. Backup question
    By PPNSteve in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-11-2009, 06:11 PM
  4. A question for backup.
    By mycuteoo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-16-2007, 03:01 AM
  5. backup question
    By upsforum in forum Data Protection
    Replies: 2
    Last Post: 05-14-2007, 02:47 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube