1
0
mirror of https://github.com/deajan/obackup.git synced 2026-02-06 07:05:14 +01:00

Added basic shunit2 tests

This commit is contained in:
deajan
2016-08-18 14:19:52 +02:00
parent bda19b3822
commit 6cbb732d7c
13 changed files with 2328 additions and 38 deletions

View File

@@ -80,10 +80,10 @@ 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;mysql"
DATABASES_ALL=no
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="somedatabase"
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.
## If a task gets stopped, next one in the task list gets executed. Time is specified in seconds.
@@ -102,9 +102,9 @@ 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.
## Directories backup list. List of semicolon separated directories that will be backed up.
DIRECTORY_LIST="/opt/testData"
RECURSIVE_DIRECTORY_LIST="/opt/testDataRecursive"
RECURSIVE_EXCLUDE_LIST="/opt/testDataRecursive/Excluded"
DIRECTORY_LIST="/opt/obackup/testData"
RECURSIVE_DIRECTORY_LIST="/opt/obackup/testDataRecursive"
RECURSIVE_EXCLUDE_LIST="/opt/obackup/testDataRecursive/Excluded"
## Rsync exclude / include order (the option set here will be set first, eg: include will make include then exclude patterns)
RSYNC_PATTERN_FIRST=include

View File

@@ -80,10 +80,10 @@ 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;mysql"
DATABASES_ALL=no
DATABASES_ALL_EXCLUDE_LIST="test"
## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces.
#DATABASES_LIST="somedatabase"
DATABASES_LIST="mysql;information_schema"
## 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.
@@ -102,9 +102,9 @@ 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.
## Directories backup list. List of semicolon separated directories that will be backed up.
DIRECTORY_LIST="/opt/testData"
RECURSIVE_DIRECTORY_LIST="/opt/testDataRecursive"
RECURSIVE_EXCLUDE_LIST="/opt/testDataRecursive/Excluded"
DIRECTORY_LIST="/opt/obackup/testData"
RECURSIVE_DIRECTORY_LIST="/opt/obackup/testDataRecursive"
RECURSIVE_EXCLUDE_LIST="/opt/obackup/testDataRecursive/Excluded"
## Rsync exclude / include order (the option set here will be set first, eg: include will make include then exclude patterns)
RSYNC_PATTERN_FIRST=include

View File

@@ -80,10 +80,10 @@ 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;mysql"
DATABASES_ALL=no
DATABASES_ALL_EXCLUDE_LIST="test"
## Alternatively, if DATABASES_ALL=no, you can specify a list of databases to backup separated by spaces.
#DATABASES_LIST="somedatabase"
DATABASES_LIST="mysql;information_schema"
## 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.
@@ -102,9 +102,9 @@ 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.
## Directories backup list. List of semicolon separated directories that will be backed up.
DIRECTORY_LIST="/opt/testData"
RECURSIVE_DIRECTORY_LIST="/opt/testDataRecursive"
RECURSIVE_EXCLUDE_LIST="/opt/testDataRecursive/Excluded"
DIRECTORY_LIST="/opt/obackup/testData"
RECURSIVE_DIRECTORY_LIST="/opt/obackup/testDataRecursive"
RECURSIVE_EXCLUDE_LIST="/opt/obackup/testDataRecursive/Excluded"
## Rsync exclude / include order (the option set here will be set first, eg: include will make include then exclude patterns)
RSYNC_PATTERN_FIRST=include