Download - BkupMODx 1.2 - Website Backup
Posted May 22, 2008
Program: Website Backup
Version: 1.2 - 2008/05/22
URL: http://go4it2day.com
Description: This program creates a backup of a website including MySQL dumped databases. It can be run in standalone mode or as a module to the MODx CMF
Copyright (C) 2008 Go4it2Day Web Services
Download no longer available. Newer version available...
Note: This program has been tested on both Windows and Linux web servers.
Windows 2000 SP4 - Apache 2.2.8 - MySQL 5.0.51a - PHP 4.4.8 and 5.2.5 (XAMPP 1.6.6a)
Linux 2.6.21.5 - Apache 2.2.8 - MySQL 5.0.37 - PHP 5.2.6 (Slackware 12.0)
Linux 2.4.31 - Apache 1.3.39 - MySQL 3.23.54 - PHP 5.2.4 (Register.com)
For Version History, Requirements and Installation please refer to the README.txt file included with the distribution.
The program scripts and output files reside in subdirectories under the root and at the same level as the root of the web space. The default directories are:
archive (where the finished backup zip file is stored for download)
backup (where the control scripts reside)
backup/classes (where the LGPL/GPL classes used by the scripts reside)
backup/template (where the CSS file resides)
backup/tmp (where temporary file from the backup process reside)
A special thanks to a few helpful PHP classes found at: PHPClasses.org
mysqldumper.class.php v1.0 - Dumps MySQL databases to .sql format.
class.listdir.php v1.0 - Lists all files for backup in a .txt file to feed to the pclzip process.
pclzip.lib.php v2.6 - Reads the .txt output of the listdir process and compresses files to a single .zip.
downloadfileclass.inc v1.1 - Offers the completed .zip file for download.
Also thanks to FreeCSStemplates and their Level2 Template for making things look good!