mirror of
https://github.com/deajan/obackup.git
synced 2024-11-15 04:03:41 +01:00
Updated test config files
This commit is contained in:
parent
be3b3f8c0c
commit
d3c1f183a2
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
###### obackup - Local or Remote, push or pull backup script for files & mysql databases
|
###### obackup - Local or Remote, push or pull backup script for files & mysql databases
|
||||||
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
||||||
###### obackup v2.1x config file rev 2016081701
|
|
||||||
|
|
||||||
###### GENERAL BACKUP OPTIONS
|
###### GENERAL BACKUP OPTIONS
|
||||||
|
CONFIG_FILE_REVISION=2.1
|
||||||
|
|
||||||
## Backup identification string.
|
## Backup identification string.
|
||||||
INSTANCE_ID="local-test"
|
INSTANCE_ID="local-test"
|
||||||
@ -13,7 +13,7 @@ INSTANCE_ID="local-test"
|
|||||||
LOGFILE=""
|
LOGFILE=""
|
||||||
|
|
||||||
## Elements to backup
|
## Elements to backup
|
||||||
SQL_BACKUP=yes
|
SQL_BACKUP=no
|
||||||
FILE_BACKUP=yes
|
FILE_BACKUP=yes
|
||||||
|
|
||||||
## Backups can be done local, pulled from another server or pushed to a backup server. Available options are [local,pull,push].
|
## Backups can be done local, pulled from another server or pushed to a backup server. Available options are [local,pull,push].
|
||||||
@ -27,7 +27,7 @@ SQL_STORAGE="${HOME}/obackup-storage/sql-local"
|
|||||||
FILE_STORAGE="${HOME}/obackup-storage/files-local"
|
FILE_STORAGE="${HOME}/obackup-storage/files-local"
|
||||||
|
|
||||||
## Encryption
|
## Encryption
|
||||||
ENCRYPTION=yes
|
ENCRYPTION=no
|
||||||
|
|
||||||
## Backup encryption needs a temporary storage space in order to encrypt files before sending them (absolute paths of the local or remote system)
|
## Backup encryption needs a temporary storage space in order to encrypt files before sending them (absolute paths of the local or remote system)
|
||||||
CRYPT_STORAGE="${HOME}/obackup-storage/crypt-local"
|
CRYPT_STORAGE="${HOME}/obackup-storage/crypt-local"
|
||||||
@ -87,9 +87,9 @@ 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.
|
## 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.
|
## Every found database will be backed up as separate backup task.
|
||||||
DATABASES_ALL=yes
|
DATABASES_ALL=yes
|
||||||
DATABASES_ALL_EXCLUDE_LIST="test;information_schema;zarafa_prod"
|
DATABASES_ALL_EXCLUDE_LIST="test;information_schema;kopano_prod"
|
||||||
## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces.
|
## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces.
|
||||||
DATABASES_LIST="mysql"
|
DATABASES_LIST=mysql
|
||||||
|
|
||||||
## Max backup execution time per Database task. Soft max exec time generates a warning only. Hard max exec time generates a warning and stops current backup task.
|
## Max backup execution time per Database task. Soft max exec time generates a warning only. Hard max exec time generates a warning and stops current backup task.
|
||||||
## If a task gets stopped, next one in the task list gets executed. Time is specified in seconds.
|
## If a task gets stopped, next one in the task list gets executed. Time is specified in seconds.
|
||||||
@ -112,8 +112,8 @@ COMPRESSION_LEVEL=3
|
|||||||
## You can exclude directories from the avove backup task creation, ex: avoid backing up "/home/dir2" by adding it to RECURSIVE_EXCLUDE_LIST.
|
## You can exclude directories from the avove backup task creation, ex: avoid backing up "/home/dir2" by adding it to RECURSIVE_EXCLUDE_LIST.
|
||||||
|
|
||||||
## Directories backup list. List of semicolon separated directories that will be backed up.
|
## Directories backup list. List of semicolon separated directories that will be backed up.
|
||||||
DIRECTORY_LIST="${HOME}/obackup-testdata/testData"
|
DIRECTORY_LIST=/root/obackup-testdata/nonPresentData
|
||||||
RECURSIVE_DIRECTORY_LIST="${HOME}/obackup-testdata/testDataRecursive"
|
RECURSIVE_DIRECTORY_LIST=/root/obackup-testdata/nonPresentDataRecursive
|
||||||
RECURSIVE_EXCLUDE_LIST="${HOME}/obackup-testdata/testDataRecursive/Excluded"
|
RECURSIVE_EXCLUDE_LIST="${HOME}/obackup-testdata/testDataRecursive/Excluded"
|
||||||
|
|
||||||
## Rsync exclude / include order (the option set here will be set first, eg: include will make include then exclude patterns)
|
## Rsync exclude / include order (the option set here will be set first, eg: include will make include then exclude patterns)
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
###### obackup - Local or Remote, push or pull backup script for files & mysql databases
|
###### obackup - Local or Remote, push or pull backup script for files & mysql databases
|
||||||
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
||||||
###### obackup v2.1x config file rev 2016081701
|
|
||||||
|
|
||||||
###### GENERAL BACKUP OPTIONS
|
###### GENERAL BACKUP OPTIONS
|
||||||
|
CONFIG_FILE_REVISION=2.1
|
||||||
|
|
||||||
## Backup identification string.
|
## Backup identification string.
|
||||||
INSTANCE_ID="local-test"
|
INSTANCE_ID="local-test"
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
###### obackup - Local or Remote, push or pull backup script for files & mysql databases
|
###### obackup - Local or Remote, push or pull backup script for files & mysql databases
|
||||||
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
||||||
###### obackup v2.1x config file rev 2016081701
|
|
||||||
|
|
||||||
###### GENERAL BACKUP OPTIONS
|
###### GENERAL BACKUP OPTIONS
|
||||||
|
CONFIG_FILE_REVISION=2.1
|
||||||
|
|
||||||
## Backup identification string.
|
## Backup identification string.
|
||||||
INSTANCE_ID="pull-test"
|
INSTANCE_ID="pull-test"
|
||||||
@ -56,7 +56,7 @@ FILE_WARN_MIN_SPACE=1048576
|
|||||||
###### REMOTE ONLY OPTIONS
|
###### REMOTE ONLY OPTIONS
|
||||||
|
|
||||||
## In case of pulled or pushed backups, remote system URI needs to be supplied.
|
## In case of pulled or pushed backups, remote system URI needs to be supplied.
|
||||||
REMOTE_SYSTEM_URI="ssh://root@localhost:49999/"
|
REMOTE_SYSTEM_URI="ssh://root@localhost:44999./"
|
||||||
|
|
||||||
## 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.
|
## 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="${HOME}/.ssh/id_rsa_local"
|
SSH_RSA_PRIVATE_KEY="${HOME}/.ssh/id_rsa_local"
|
||||||
@ -92,7 +92,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.
|
## 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.
|
## Every found database will be backed up as separate backup task.
|
||||||
DATABASES_ALL=yes
|
DATABASES_ALL=yes
|
||||||
DATABASES_ALL_EXCLUDE_LIST="test;information_schema;zarafa_prod"
|
DATABASES_ALL_EXCLUDE_LIST="test;information_schema;kopano_prod"
|
||||||
## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces.
|
## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces.
|
||||||
DATABASES_LIST=mysql
|
DATABASES_LIST=mysql
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
###### obackup - Local or Remote, push or pull backup script for files & mysql databases
|
###### obackup - Local or Remote, push or pull backup script for files & mysql databases
|
||||||
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
###### (C) 2013-2016 by Orsiris de Jong (www.netpower.fr)
|
||||||
###### obackup v2.1x config file rev 2016081701
|
|
||||||
|
|
||||||
###### GENERAL BACKUP OPTIONS
|
###### GENERAL BACKUP OPTIONS
|
||||||
|
CONFIG_FILE_REVISION=2.1
|
||||||
|
|
||||||
## Backup identification string.
|
## Backup identification string.
|
||||||
INSTANCE_ID="push-test"
|
INSTANCE_ID="push-test"
|
||||||
@ -56,7 +56,7 @@ FILE_WARN_MIN_SPACE=1048576
|
|||||||
###### REMOTE ONLY OPTIONS
|
###### REMOTE ONLY OPTIONS
|
||||||
|
|
||||||
## In case of pulled or pushed backups, remote system URI needs to be supplied.
|
## In case of pulled or pushed backups, remote system URI needs to be supplied.
|
||||||
REMOTE_SYSTEM_URI="ssh://root@localhost:49999/"
|
REMOTE_SYSTEM_URI="ssh://root@localhost:44999./"
|
||||||
|
|
||||||
## 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.
|
## 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="${HOME}/.ssh/id_rsa_local"
|
SSH_RSA_PRIVATE_KEY="${HOME}/.ssh/id_rsa_local"
|
||||||
@ -92,7 +92,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.
|
## 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.
|
## Every found database will be backed up as separate backup task.
|
||||||
DATABASES_ALL=yes
|
DATABASES_ALL=yes
|
||||||
DATABASES_ALL_EXCLUDE_LIST="test;information_schema;zarafa_prod"
|
DATABASES_ALL_EXCLUDE_LIST="test;information_schema;kopano_prod"
|
||||||
## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces.
|
## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces.
|
||||||
DATABASES_LIST=mysql
|
DATABASES_LIST=mysql
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user