Bash Script To Backup Your Website

I thought I’d share another one of my personal scripts. This one is a script that I use to backup this website including files and the MySQL database. It is very simple and straightforward so I won’t bother with long explanations. If you have any questions about it please feel free to comment. On tip I’ll leave you with is… schedule this (or your own) backup script to run regularly. I’m hosted on a linux server so it is an easy thing to setup a cron job to run this script once a week. Plus if you are really snazzy you could setup a local script to login to your server and download the backup files to your home system where you could archive them off to DVD-R or some other media. Anyway, here is the script… enjoy! 🙂