Menu

#4 Need nightly website backups

open
Website (3)
5
2006-01-28
2006-01-27
No

The website and database should be backed up nightly,
tarred and sent offsite.

Discussion

  • Andrew MacDonald

    Logged In: YES
    user_id=1429756

    Seems that rsync and cron (or anacron) are the tools for the
    job. A useful tutorial:
    http://linuxgazette.net/104/odonovan.html

    I will implement this on my desktop.

     
  • Andrew MacDonald

    • assigned_to: trotterdylan --> andrewmacdonald
     
  • Dylan Trotter

    Dylan Trotter - 2006-01-30

    Logged In: YES
    user_id=1426648

    Whoops, didn't notice you had taken this one, Andrew.

    I added a cron job on sourceforge that dumps a tarball of
    the website and database to /home/groups/t/ti/timmyengine
    every night. I then set up a scheduled task on my local
    server that scp's that file to my machine nightly.

    But, a more robust scheme would certainly be a good idea. I
    recommend implementing a system similar to the one outlined
    in the article you cited.

    It might be useful to check out what I wrote in
    /home/groups/t/ti/timmyengine/backup.sh for dumping the db
    data to a file.

     

Log in to post a comment.

MongoDB Logo MongoDB