Auto Backup Options

Discussion in 'Site & Server Administration' started by floodrod, Aug 1, 2010.

  1. #1
    Hi, I'm looking onto auto backup options for my website.

    I need to backup an "Images" directory and my mysql databases every day..

    So I setup a cron job that backups mysql databases everyday to the image folder. Now I need a way to automatically download that image folder every night..

    I suppose like a "Scheduled FTP" program. Anyone have any recommendations?
     
    floodrod, Aug 1, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    Why not have the cron job rsync the files to a service such as http://bqbackup.com/ (never used them though have set up backups to them for clients) then it's all automated and just happens. As rsync only copies changes you don't consume the volume of bandwidth you would with FTP.
     
    tolra, Aug 1, 2010 IP
  3. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #3
    Are you looking to download the backup on your local machine? Is so, what OS have you installed on your local machine?
    If it's Linux, you can set a cronjob to rsync the backups on your local machine.
    If it's Windows, install cyg-win, create a .bat file with the rsync commands and configure a scheduler to run that bat file.
     
    madaboutlinux, Aug 2, 2010 IP
  4. CoderJosh

    CoderJosh Peon

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I'd also recommend using rsync, either to your local machine or to a backup provider's server. As already pointed out above, rsync is much for efficient than FTP, assuming that while new images get added (uploaded) to your image directory, they usually aren't modified anymore once they are there.
     
    CoderJosh, Aug 3, 2010 IP