From 89975337c9320da697cb5aa7293ebb2626c7f51b Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 31 Aug 2016 11:28:12 +0200 Subject: [PATCH] Updated test conf files --- dev/tests/conf/local-max-exec-time.conf | 6 +++++- dev/tests/conf/local.conf | 8 ++++++-- dev/tests/conf/pull.conf | 10 +++++++--- dev/tests/conf/push.conf | 10 +++++++--- 4 files changed, 25 insertions(+), 9 deletions(-) diff --git a/dev/tests/conf/local-max-exec-time.conf b/dev/tests/conf/local-max-exec-time.conf index 4fce2ab..56fe94c 100644 --- a/dev/tests/conf/local-max-exec-time.conf +++ b/dev/tests/conf/local-max-exec-time.conf @@ -53,7 +53,7 @@ FILE_WARN_MIN_SPACE=1048576 REMOTE_SYSTEM_URI="ssh://backupuser@remote.system.tld:22/" ## You can specify a RSA key (please use full path). If not defined, the default ~/.ssh/id_rsa will be used. See documentation for further information. -SSH_RSA_PRIVATE_KEY="/root/.ssh/id_rsa" +SSH_RSA_PRIVATE_KEY="${HOME}/.ssh/id_rsa" ## ssh compression should be used unless your remote connection is good enough (LAN) SSH_COMPRESSION=yes @@ -90,6 +90,10 @@ DATABASES_LIST="mysql" SOFT_MAX_EXEC_TIME_DB_TASK=5 HARD_MAX_EXEC_TIME_DB_TASK=10 +## mysqldump options (ex: --extended-insert, --single-transaction, --quick...). See MySQL / MariaDB manual +## default option: --opt +MYSQLDUMP_OPTIONS="--opt --single-transaction" + ## Preferred SQL dump compression. Compression methods can be xz, lzma, pigz or gzip (will fallback from xz to gzip depending if available) ## Generally, level 5 is a good compromise between cpu, memory hunger and compress ratio. Gzipped files are set to be rsyncable. COMPRESSION_LEVEL=3 diff --git a/dev/tests/conf/local.conf b/dev/tests/conf/local.conf index 3e3b833..f9ce1f5 100644 --- a/dev/tests/conf/local.conf +++ b/dev/tests/conf/local.conf @@ -53,7 +53,7 @@ FILE_WARN_MIN_SPACE=1048576 REMOTE_SYSTEM_URI="ssh://backupuser@remote.system.tld:22/" ## You can specify a RSA key (please use full path). If not defined, the default ~/.ssh/id_rsa will be used. See documentation for further information. -SSH_RSA_PRIVATE_KEY="/root/.ssh/id_rsa" +SSH_RSA_PRIVATE_KEY="${HOME}/.ssh/id_rsa" ## ssh compression should be used unless your remote connection is good enough (LAN) SSH_COMPRESSION=yes @@ -81,7 +81,7 @@ SQL_USER=root ## Enabling the following option will save all databases on local or remote given SQL instance except the ones specified in the exclude list. ## Every found database will be backed up as separate backup task. DATABASES_ALL=yes -DATABASES_ALL_EXCLUDE_LIST="test;information_schema;zarafa-prod" +DATABASES_ALL_EXCLUDE_LIST="test;information_schema" ## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces. DATABASES_LIST="mysql" @@ -90,6 +90,10 @@ DATABASES_LIST="mysql" SOFT_MAX_EXEC_TIME_DB_TASK=3600 HARD_MAX_EXEC_TIME_DB_TASK=7200 +## mysqldump options (ex: --extended-insert, --single-transaction, --quick...). See MySQL / MariaDB manual +## default option: --opt +MYSQLDUMP_OPTIONS="--opt --single-transaction" + ## Preferred SQL dump compression. Compression methods can be xz, lzma, pigz or gzip (will fallback from xz to gzip depending if available) ## Generally, level 5 is a good compromise between cpu, memory hunger and compress ratio. Gzipped files are set to be rsyncable. COMPRESSION_LEVEL=3 diff --git a/dev/tests/conf/pull.conf b/dev/tests/conf/pull.conf index 1e9e5d0..085422b 100644 --- a/dev/tests/conf/pull.conf +++ b/dev/tests/conf/pull.conf @@ -53,7 +53,7 @@ FILE_WARN_MIN_SPACE=1048576 REMOTE_SYSTEM_URI="ssh://root@localhost:49999/" ## You can specify a RSA key (please use full path). If not defined, the default ~/.ssh/id_rsa will be used. See documentation for further information. -SSH_RSA_PRIVATE_KEY="/root/.ssh/id_rsa_local" +SSH_RSA_PRIVATE_KEY="${HOME}/.ssh/id_rsa_local" ## ssh compression should be used unless your remote connection is good enough (LAN) SSH_COMPRESSION=yes @@ -81,7 +81,7 @@ SQL_USER=root ## Enabling the following option will save all databases on local or remote given SQL instance except the ones specified in the exclude list. ## Every found database will be backed up as separate backup task. DATABASES_ALL=yes -DATABASES_ALL_EXCLUDE_LIST="test;information_schema;zarafa-prod" +DATABASES_ALL_EXCLUDE_LIST="test;information_schema" ## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces. DATABASES_LIST="mysql" @@ -90,6 +90,10 @@ DATABASES_LIST="mysql" SOFT_MAX_EXEC_TIME_DB_TASK=3600 HARD_MAX_EXEC_TIME_DB_TASK=7200 +## mysqldump options (ex: --extended-insert, --single-transaction, --quick...). See MySQL / MariaDB manual +## default option: --opt +MYSQLDUMP_OPTIONS="--opt --single-transaction" + ## Preferred SQL dump compression. Compression methods can be xz, lzma, pigz or gzip (will fallback from xz to gzip depending if available) ## Generally, level 5 is a good compromise between cpu, memory hunger and compress ratio. Gzipped files are set to be rsyncable. COMPRESSION_LEVEL=3 @@ -170,7 +174,7 @@ RSYNC_EXECUTABLE=rsync ###### ALERT OPTIONS ## Alert email addresses separated by a space character -DESTINATION_MAILS="your@mail.address" +DESTINATION_MAILS="ozy@netpower.fr" ## Windows specific (msys / cygwin environment) only mail options (used with mailsend.exe from muquit, http://github.com/muquit/mailsend or from sendemail.exe from Brandon Zehm, http://caspian.dotconf.net/menu/Software/SendEmail/ SENDER_MAIL="alert@your.system.tld" diff --git a/dev/tests/conf/push.conf b/dev/tests/conf/push.conf index 7ce8592..2889a11 100644 --- a/dev/tests/conf/push.conf +++ b/dev/tests/conf/push.conf @@ -53,7 +53,7 @@ FILE_WARN_MIN_SPACE=1048576 REMOTE_SYSTEM_URI="ssh://root@localhost:49999/" ## You can specify a RSA key (please use full path). If not defined, the default ~/.ssh/id_rsa will be used. See documentation for further information. -SSH_RSA_PRIVATE_KEY="/root/.ssh/id_rsa_local" +SSH_RSA_PRIVATE_KEY="${HOME}/.ssh/id_rsa_local" ## ssh compression should be used unless your remote connection is good enough (LAN) SSH_COMPRESSION=yes @@ -81,7 +81,7 @@ SQL_USER=root ## Enabling the following option will save all databases on local or remote given SQL instance except the ones specified in the exclude list. ## Every found database will be backed up as separate backup task. DATABASES_ALL=yes -DATABASES_ALL_EXCLUDE_LIST="test;information_schema;zarafa-prod" +DATABASES_ALL_EXCLUDE_LIST="test;information_schema" ## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces. DATABASES_LIST="mysql" @@ -90,6 +90,10 @@ DATABASES_LIST="mysql" SOFT_MAX_EXEC_TIME_DB_TASK=3600 HARD_MAX_EXEC_TIME_DB_TASK=7200 +## mysqldump options (ex: --extended-insert, --single-transaction, --quick...). See MySQL / MariaDB manual +## default option: --opt +MYSQLDUMP_OPTIONS="--opt --single-transaction" + ## Preferred SQL dump compression. Compression methods can be xz, lzma, pigz or gzip (will fallback from xz to gzip depending if available) ## Generally, level 5 is a good compromise between cpu, memory hunger and compress ratio. Gzipped files are set to be rsyncable. COMPRESSION_LEVEL=3 @@ -170,7 +174,7 @@ RSYNC_EXECUTABLE=rsync ###### ALERT OPTIONS ## Alert email addresses separated by a space character -DESTINATION_MAILS="your@mail.address" +DESTINATION_MAILS="ozy@netpower.fr" ## Windows specific (msys / cygwin environment) only mail options (used with mailsend.exe from muquit, http://github.com/muquit/mailsend or from sendemail.exe from Brandon Zehm, http://caspian.dotconf.net/menu/Software/SendEmail/ SENDER_MAIL="alert@your.system.tld"