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.

How do i use Chron to schedule backups?

Discussion in 'General Discussion' started by talon39, Jun 23, 2004.

  1. talon39

    talon39 Active Member

    Joined:
    Aug 10, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    I would like to schedule a full backup of my website via ftp every night at 3:00AM.
    However my knowledge of command line linux is lacking.
    I'm looking at the Standard Chron manger and it looks pretty straight forward except I have no idea what command to run to acomplish this.
    Could someone please post an example? Any help will be appreciated.
     
  2. talon39

    talon39 Active Member

    Joined:
    Aug 10, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Anyone, know how to do this? Seems like would be a common task to use chron for.
     
  3. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  4. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
  5. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    Thats what I get for taking a phone call in the middle of posting :p

    Nice link sawbuck :D
     
  6. talon39

    talon39 Active Member

    Joined:
    Aug 10, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Yes I read that.
    I guess I don't know enough to ask the right question. THough from reading through the forums I see that many others are asking the same wrong questions. lol.

    Now i'm looking for the handy CPanel cron manager way to do this from a shared account without root access. Not the gritty straight-up linux way. No ssh.

    First let me see if i understand this. Shared hosting accounts come with the ability to do backups in cpanel(not WHM). They can also ftp that backup to another server. However this is done manually by the user. They also have a "Cron manager" to run linux commands on a schedule.
    THere is a neat little place for me to input a linux command in Cron manager. I am assuming that I can enter several commands into this.
    Now it seems to me that there should be a way to create a full backup of said shared account and then ftp that .gz file to another server. It seems like this could be accomplished just by entering the proper commands into the handy "command" input box in the Cron manager.

    IS this possible? This is what I would prefer.

    If this is not possible, then how does it have to be done? Does it require a 3rd party php script as the article suggests?
     
  7. talon39

    talon39 Active Member

    Joined:
    Aug 10, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Trying the script in the posted article. Does Cron have a log I can view?
     
  8. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Try /var/log/cron
     
  9. talon39

    talon39 Active Member

    Joined:
    Aug 10, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    thanks. I think i got it working. Not the way I imagined it. But it works:D
     
Loading...
Similar Threads - Chron schedule backups
  1. psytanium
    Replies:
    3
    Views:
    145

Share This Page