Dedicated Server Backup Advice, PLEASE!
I use a bash script to backup to a second drive using rsync. I know this is not the best but it has to be better then nothing. I currently back up /usr, /home, and /var.Is there any other directories or files I should add to my script. I have a very large backup drive and I use a different backup directory everyday. Below is the script for Friday.
#!/bin/bash/
rsync -a -z -x --delete /usr /home2/sync-fri 2>&1
rsync -a -z -x --delete /home /home2/sync-fri 2>&1
rsync -a -z -x --delete /var /home2/sync-fri 2>&1
I thought about copying the whole drive but I am not sure that would do any good. I have restored some files and a MYSQL database and it worked fine. So I know the idea is sound.
Any suggestions would be appreciated.
BOB
