The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

change backup time?

Discussion in 'General Discussion' started by torwill, Oct 8, 2002.

  1. torwill

    torwill Well-Known Member

    Joined:
    Jun 25, 2002
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I use backup function in WHM to backup my servers.

    just wondering where to change backup time? a cron? a script? so I can avoid peak hours on my server.

    any comments appreciated.

    thanks.
     
  2. torwill

    torwill Well-Known Member

    Joined:
    Jun 25, 2002
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
  3. dwayrynen

    dwayrynen Member

    Joined:
    Jun 19, 2002
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    root's crontab has an entry for /scripts/upcp - it's set to a random time in early morning hours.

    upcp (update cpanel?) updates the system then calls /scripts/cpbackup, which is the backup program.
     
  4. ThunderHostingDotCom

    ThunderHostingDotCom Well-Known Member

    Joined:
    Nov 18, 2002
    Messages:
    450
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    All over!
    [quote:aef6b18bd3][i:aef6b18bd3]Originally posted by dwayrynen[/i:aef6b18bd3]

    root's crontab has an entry for /scripts/upcp - it's set to a random time in early morning hours.

    upcp (update cpanel?) updates the system then calls /scripts/cpbackup, which is the backup program.
    [/quote:aef6b18bd3]


    I tried to go into /scripts/upcp and all it did was run a script. Then I slapped myself inthe head and added the pico before the line (pico /scripts/upcp) which let me into the file. 2 questions.
    1) Did I hurt anything by running /scripts/upcp
    2) I could not find the backup schedule in there. Any ideas?
     
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    1. Shouldn't have hurt anything.

    2. In upcp it calls /scripts/cpbackup around line number 150
    a. cpbackup has a config file in /etc/ called cpbackup.conf

    3. To change the backup time change the time upcp runs.
     
Loading...

Share This Page