-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Jérôme Quéré edited this page Aug 13, 2015
·
4 revisions
The configuration is writen in bash and declare backup tasks and storages method. The configuration file is include using bash source function this way you can insert bash code or access environment variable if needed.
IB_TASKS="" # List all available tasks name separated by space.
IB_STORAGES="" # List all available storages name separated by spaceBoth IB_TASKS and IB_STORAGES MUST be set
IB_TASKS="all web mysql"
IB_STORAGE="ssh-backup"
# Declare the web task
IB_TASK_web_TYPE="tarball-incremental"
IB_TASK_web_FOLDERS="/var/www"
IB_TASK_web_LIST_NAME="/root/backup-web.list"
IB_TASK_web_FILE_BASENAME="webdata"
IB_TASK_web_MASTER_FREQUENCY="weekly"
IB_TASK_web_MASTER_FREQUENCY_VALUE="1"
IB_TASK_web_STORAGE="ssh-backup"
# Declare the mysql task
IB_TASK_mysql_TYPE="mysql"
IB_TASK_mysql_USER="root"
IB_TASK_mysql_PASSWORD="password"
IB_TASK_mysql_DATABASES="my-database"
IB_TASK_mysql_STORAGE="ssh-backup"
# Declare the all task
IB_TASK_all_TYPE="subtask"
IB_TASK_all_SUBTASKS="web mysql"
# Declare the "ssh-backup" storage
IB_STORAGE_ssh-backup_TYPE="ssh"
IB_STORAGE_ssh-backup_HOST="backup.exemple.com"
IB_STORAGE_ssh-backup_USER="user"
IB_STORAGE_ssh-backup_BASEPATH="/backup"
IB_STORAGE_ssh-backup_SSHKEY="/root/.ssh/id_rsa"
For a complete list of tasks type and their configuration click here.
For a complete list of storage type and their configuration click here.
Made with love by Indigen.