sitepages_guard is a PHP class to monitor and restore damaged application files on a Web site. It can scan the application directory and make a compressed backup of its files. Later, the class can check if all files are still OK. If any files were damaged, the class can warn the administrator by email and restore the damaged or deleted files form a previous backup. If the installation is updated, the class can update the existing backup archive.