September 05, 2003
Created some scheduled backup scripts
Playing around with Cron, I created some scripts that will back some of DrQue.net's vitals, such as the config file, databases and even the log files. We regularly symphonize the Iron Dragon (the laptop) to mirror the webpage directory. But since the addition of dynamic content, some of the data needed to have a complete backup of the website wasn't included.
We made a shell script to archive (tar) and compress (gzip) data and place it in a directory inside the website directory structure. Naturally then, when we symphonize with the Iron Dragon, these backups will be included. Then, we setup Cron to call this script once a day.
We also had Cron run Webalizer which generates statistical information about the usage of the site. After the minor disaster on 8-23, we lost out log file (silly me forgot to copy that-- although it was on the list of things to copy!!). However, Webalizer was able to continue it's incremental session and still give stats for the month of August :) Good program Webalizer.
We made a shell script to archive (tar) and compress (gzip) data and place it in a directory inside the website directory structure. Naturally then, when we symphonize with the Iron Dragon, these backups will be included. Then, we setup Cron to call this script once a day.
We also had Cron run Webalizer which generates statistical information about the usage of the site. After the minor disaster on 8-23, we lost out log file (silly me forgot to copy that-- although it was on the list of things to copy!!). However, Webalizer was able to continue it's incremental session and still give stats for the month of August :) Good program Webalizer.