2004-02-04 wolf * README 1.6: Changed: Updated documentation in README * INSTALL 1.4: Changed: Updated documentation in INSTALL * README 1.5: * db_backup.php 1.22: * def_config.inc.php 1.2: * functions.php 1.4: Fixed: Error message on failed ftp connection. Fixed: Addded absolute path for include files. Fixed: Settings for Mail Report were not honoured. Changed: Simplified some loops. Changed: Updated documentation in README 2004-01-23 wolf * INSTALL 1.3: * README 1.4: * config.inc.php 1.6: * db_backup.php 1.21: * def_config.inc.php 1.1: * functions.php 1.3: changed: more possible error-levels. changed: log actions accroding to error-level. changed: using different logs for text and html. changed: output error messages with when diks log-file. added: calculate and display database storeage size. changed: minor changes in some error messages fixed: fixed some old variable names, removed obosolete ones. added: added error-levels to many messages, but still not all yet. changed: moved html.mail.class file-inclusion to mailing function. changed: errors while sending mail are now logged and not just displayed. changed: php errors are logged to disk-log-file. added: configuration options for colors in html reports. added: error messages are color-highlighted in html. fixed: exeption handling logic while connecting to database server. changed: minor changes in comments for the config-file. added: log-level options in config-file. changed: minor documentation updates. more to come. 2004-01-11 wolf * config.inc.php 1.5: * db_backup.php 1.20: * functions.php 1.2: Added: Check for empty database names in cfg array. 2004-01-09 wolf * PEAR.php 1.1: * README 1.3: * TODO 1.2: * Tar.php 1.1: * class.RFC822.inc.php 1.2: * config.inc.php 1.4: * db_backup.php 1.19: * functions.php 1.1: Changed: Moved functions to separate file. Changed: Format of configuration settings as in PHPMyAdmin. Changed: Copyright Statement. Added: Reports and program outpout are now handled by a function. Removed: Configuration check error message. Changed: Display of current backup settings. Added: Multiple Databases can be handled. Added: Option to put all tables of a DB in one SQL-file. Changed: SQL creation moved to a function. Changed: SQL file handling moved to separate functions. Changed: Tar-Archiving and gzip-compression now handled by PEAR object Archive.Tar Changed: FTP upload handles multiple files. Changed: Mailing handles multiple files. 2003-12-10 wolf * db_backup.php 1.18: Changed: Background and color of mail reports Added: errors are now counted. Added: Expiry date in email reports. Added: Priority in email reports, according to errors enountered. Changed: Current settings displayed/logged before connection to MySQL-Server Changed: Minor reporting changes. 2003-10-29 wolf * db_backup.php 1.17: Changed: Rewrite FTP upload of archive files 2003-05-19 wolf * config.inc.php 1.2: * db_backup.php 1.16: Fixed: Error defining already defined constant DB_BAKUP_HOST in CLI-Mode. Fixed: Hostname must be defined manually in config-file when running from CRON in CLI-Mode. Fixed: All subdirs are created by default, supressing errors in tar-commands. 2003-05-18 wolf * class.RFC822.inc.php 1.1: * class.html.mime.mail.inc.php 1.1: * class.mimePart.inc.php 1.1: * class.smtp.inc.php 1.1: Added: include files. * db_backup.php 1.15: Added: PHP error loggin options. Changed: Moved include files to the top of script. * db_backup.php 1.14: Changed: Improved Hostname detection. 2003-05-17 wolf * config.inc.php 1.1: Added: config file. * db_backup.php 1.13: Added: Configuration check and error message. Added: Hostname is set (UNIX and WIN) Added: Sending Archive file by mail. Added: Clean up backup dirs from old SQL files. Added: Server hostname (not MySQL) to reports and SQL files. Added: Number of Records to reports and SQL files. Fixed: HTTP-server vars are set in CLI-mode. Changed: Subject-line in mail. Changed: SMTP params are now GLOBAL. Changed: removed RK_ from global vars. Changed: Output HTML only when not in CLI-mode. * db_backup.php 1.12: Changed: Renamed config file to "config.inc.php". * HISTORY 1.1: * INSTALL 1.1: * LICENSE 1.1: * README 1.1: * TODO 1.1: Added: Distribution docs. 2003-05-15 wolf * db_backup.php 1.11: Added: Expires header in mail-reports. Fixed: Some minor HTML glitches and report layout. Fixed: mysql_pconnect parameters are honoured. * db_backup.php 1.10: Added: Mailing of reports using SMTP and html-mime-mail-class. Added: Copyright statement in Reports. Changed: Moved configuration options to separate file. Changed: Function fnmatch defined conditionally, if it doesn't exist. Changed: Progress saved in buffer, for maliing and display. Changed: Minor changes in report output format. Replaced
tags. 2003-04-24 wolf * db_backup.php 1.9: Fixed: Renamed function fnmatch to fn_match. Fixed: Cosmetic changes in report. * db_backup.php 1.7: Fixed: Format of SQL dump. Better escaped special chars. * db_backup.php 1.8: Changed: All archived files are extracted before backup and archived together after backup. Avoiding archive updates. * db_backup.php 1.6: Fixed: Some variable spelling errors Added: DROP TABLE in SQL file 2003-04-17 wolf * db_backup.php 1.3: Changed: Uses PHP functions for mysql server and version Fixed: corrections in all system() calls Changed: System calls display status and errors * db_backup.php 1.2: Added. Browser STOP button is ignored. Added. MySQL table structure included in SQL-files. Added. Comment header in SQL-files. Changed. Compression done by Gzip. Added. update and delete on tar-files. * db_backup.php 1.4: Added: Tables can be excluded from backup Changed: File and directory permissions * db_backup.php 1.5: Changed: Diskspace measured by PHP functions (less system() calls). Changed: Version number in protocol header. Changed: Removed all
tags from protocol. Fixed: Array $exclude_tables properly initialized Fixed: ';' missed in SQL fiels after table structure. Added: Footer comment in SQL file. 2003-04-05 wolf * db_backup.php 1.1: New version of MySQL Database Backup. Now with gzip-compression.