![]() |
BillMax Billing Solutions 877.245.5629 sales@billmax.com |
In a typical BillMax installation, the MYSQLD_START setting in /usr/local/billmax/local/billmax.conf contains the "--log-update=`hostname`" option. This specifies a log file to which all database update transactions recorded. hostname is the name of the BillMax server. The resulting name of the log file is /usr/local/billmax/mysql/var/hostname.log. This log file may be compressed and renamed if MYSQLD_LOG_ROTATE_FREQUENCY is set to:
On Sundays, the existing log file is compressed and renamed using the current date in the new file name and ".gz" as the file type.
Daily, the existing log file is compressed and renamed using the current date in the new file name and ".gz" as the file type.
Another parameter that affects the MySQL log files is the ISAM_ROTATE setting in /usr/local/billmax/local/billmax.conf. This setting is a numeric value that specifies the number of weeks to keep these log files.
Using either /usr/local/billmax/local/backup_hook or some other method, consider copying the files in /usr/local/billmax/mysql/var with a file type of ".gz" to offline storage.