Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
I have access to cron jobs through the CPanel interface with my host and want to use it to backup my MySQL every night at midnight, then zip the backup ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2003
    Posts
    7

    Backup and E-Mail


    I have access to cron jobs through the CPanel interface with my host and want to use it to backup my MySQL every night at midnight, then zip the backup and e-mail it to me. Is this possible, if so, how would I do it?

  2. #2
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    Please search first to see if a similar qustion has been posted or answered. If you check here at http://www.this_site_does_not_exist/...ghlight=backup this may answer your issue. If not then repost with a detailed question so that its clear that your issue is different.

    Thanks,
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  3. #3
    Just Joined!
    Join Date
    Apr 2003
    Posts
    7
    Yeah, I had done a search and seen that post - but I don't have access to put it in the directory on the server - only a web based system. Also, I need to to come to my e-mail if possible. I will check out the FTP script though.

  4. #4
    Just Joined!
    Join Date
    Apr 2003
    Posts
    7
    I can't use the FTP one as I don't have root access - this is shared hosted.

  5. #5
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    Hopefully Jaguar or another user will be able to shed some light on this for you. It is not my area of expertise within linux. Newbie stuff is more my speed.

    Good luck,
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  6. #6
    Just Joined!
    Join Date
    Apr 2003
    Posts
    7
    Ok thanks.

  7. #7
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284

    Re: Backup and E-Mail

    Quote Originally Posted by Olate
    I have access to cron jobs through the CPanel interface with my host and want to use it to backup my MySQL every night at midnight, then zip the backup and e-mail it to me. Is this possible, if so, how would I do it?
    Hiya.

    Do you have access to any sort of command line scripting capability on the server? telnet or SSH access? what command line mailers are available? mutt? mail?

    It is possible, but you will need the ability to have scripts you write placed on the server, and you will also need access to utilities such as tar and mail/mutt.

    Let us know what your hosting company have given you access to.

    Jason

  8. #8
    Just Joined!
    Join Date
    Apr 2003
    Posts
    7
    I am not sure what programs are installed on the servers. Basically, I have a control panel option for Cron (see screenshots).

    I do have SSH access to the server. I assume all the standard systems are available for the server, which should in mail and tar?

    You can view the screenshot of what I can do via the CP here.

  9. #9
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    Olate,

    Your missing the screen shots.

    Also if you have not, if you would run from the cmd line "whoami" and what is the command prompt looks like. i.e. bob:> or root:> etc...
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  10. #10
    Just Joined!
    Join Date
    Apr 2003
    Posts
    7
    It is a link to the screenshot on the word here.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •