Certain system wide failures as of late (only some of which have had their cause identified and corrected) have made it clear that the system needs some backup and self-healing abilities. A first attempt has been made at such an attempt. The system will perform nightly backups of the weekly, yearly, and monthly usage charts by zipping them up and sending them to the configured data email. In response to the totals file for a site occasionally (and seemingly randomly) becoming blank, code was added to detect and empty file and restore it from a backup that is performed with each run of the post.php file.
The one thing that has not been addressed yet are the daily chart files. It was decided that to include them in the nightly backup would take too much time because of the number of files that exist for the daily charts. A backup solution for the daily chart files will occur relatively soon.
Log in to post a comment.