File mysql-backup.sysconfig of Package mysql-backupscript

## Path:    System/Backup
## Description:
## Type:    yesno
## Default: yes
#
# Start backup script.
#
START_BACKUP="yes"

## Type:    string
## Default: /root/backup/db
#
# Place where the database backup files should be 
# stored. The path will be created if it doesn't 
# exist. 
#
BACKUPDIR="/root/backup/mysql"

## Type:    string
## Default: root@localhost
#
# Email address to send errors.
#
EMAIL="root@localhost"

## Type:    string
## Default: /var/log/mysql-backup.log
#
# Logfile
#
LOGFILE="/var/log/mysql-backup.log"

## Type:	integer
## Default: 14
#
# Retention period for storing old backup files.
# Files older than this value in $BACKUPDIR will
# be deleted.
# Set to '0' if you want to store all backups.
#
RETENTION=14

## Type:    yesno
## Default: no
#
# The script can try to repair and optimize the databases/tables
# automatically after a successful backup. It uses mysqlcheck for 
# all databases to do this.
#
OPTIMIZE_DB="no"

## Type:    list(yes,no,skip)
## Default: yes
#
# Should the BACKUPDIR created if it does not exist?
#  yes  : the script will create the backup directory
#  no   : the script will abort and create an Email alert if the
#         backup directory does not exist
#  skip : the script will silently abort - useful if you run a 
#         HA setup for the database
#
CREATE_BACKUPDIR="yes"

## Type:     string
## Default:  /usr/bin/xz
# 
# Which executable should be used to compress the SQL dump files?
# The executable should accept a filename as option on the command
# line - like /usr/bin/bzip2 or /usr/bin/xz
#
# Please check that the executable exists before changing anything
# here. If the file is not executable, the script will still run, 
# but not compress the SQL dump files at all.
#
COMPRESS_EXE='/usr/bin/xz'

## Type:    string
## Default: --defaults-extra-file=/root/.my.cnf
#
# Additional options added to each mysql* call. 
# Please note the following binaries are extended with the given options:
# + mysqlcheck
# + mysqladmin
# + mysqldump
# + mysql
# Options given here should be recognized by all the above binaries.
#
MYSQL_OPTS='--defaults-extra-file=/root/.my.cnf'