Archive of January 2010

Server backup system

Posted on 2010-01-10 17:52:42

My home server is 10 years old now: it’s running this website, my personal intranet, a svn server and some other websites, and before today I didn’t have any backup system in place. The last backup I have of the data dates back to April 2008, so I decided it was time to have a proper backup system. Particularly since the server is somewhat ageing.

My idea:

  1. Tar and gzip the entire /home folder every night using a cron job. All SVN, MySQL and Apache data is stored in /home (good thing I set it up that way), so that’ll cover everything that might change daily
  2. Every month, make a copy of the entire system, in addition to the daily backup of /home
  3. Copy the .tar.gz backup file(s) to my desktop computer every day. The desktop computer has enough space for storing the backups: the compressed home directory is just over 100MB.

That way, I will lose at most one day of data, which isn’t much of a problem.

Posted in: Computers, Linux