Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #422 from bareos/dev/franku/master/TT4200603
dev/franku/master/tt4200603
- Loading branch information
Showing
24 changed files
with
368 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
core/src/tests/configs/scheduler-on-time-noday/bareos-dir.d/catalog/MyCatalog.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Catalog { | ||
Name = MyCatalog | ||
#dbdriver = "postgresql" | ||
dbdriver = "XXX_REPLACE_WITH_DATABASE_DRIVER_XXX" | ||
dbname = "regress_backup_bareos_test" | ||
dbuser = "regress" | ||
dbpassword = "" | ||
} |
31 changes: 31 additions & 0 deletions
31
core/src/tests/configs/scheduler-on-time-noday/bareos-dir.d/client/bareos-fd.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Client { | ||
Name = bareos-fd | ||
Description = "Client resource of the Director itself." | ||
Address = localhost | ||
Password = "fd_password" # password for FileDaemon | ||
FD PORT = 42002 | ||
} | ||
|
||
Client { | ||
Name = bareos-fd-duplicate-interface | ||
Description = "Client resource with identical network interface for setdebug testing" | ||
Address = localhost | ||
Password = "fd_password" # password for FileDaemon | ||
FD PORT = 42002 | ||
} | ||
|
||
Client { | ||
Name = bareos-fd2 | ||
Description = "Client for setdebug testing." | ||
Address = 192.168.101.1 | ||
Password = "fd_password" # password for FileDaemon | ||
FD PORT = 42002 | ||
} | ||
|
||
Client { | ||
Name = bareos-fd3 | ||
Description = "Client for setdebug testing." | ||
Address = 192.168.101.1 | ||
Password = "fd_password" # password for FileDaemon | ||
FD PORT = 42003 | ||
} |
7 changes: 7 additions & 0 deletions
7
core/src/tests/configs/scheduler-on-time-noday/bareos-dir.d/console/bareos-mon.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Console { | ||
Name = bareos-mon | ||
Description = "Restricted console used by tray-monitor to get the status of the director." | ||
Password = "mon_dir_password" | ||
CommandACL = status, .status | ||
JobACL = *all* | ||
} |
27 changes: 27 additions & 0 deletions
27
core/src/tests/configs/scheduler-on-time-noday/bareos-dir.d/director/bareos-dir.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Director { # define myself | ||
Name = bareos-dir | ||
QueryFile = "/tmp/scripts/query.sql" | ||
Maximum Concurrent Jobs = 10 | ||
Password = "dir_password" # Console password | ||
Messages = Daemon | ||
Auditing = yes | ||
|
||
# Enable the Heartbeat if you experience connection losses | ||
# (eg. because of your router or firewall configuration). | ||
# Additionally the Heartbeat can be enabled in bareos-sd and bareos-fd. | ||
# | ||
# Heartbeat Interval = 1 min | ||
|
||
# remove comment in next line to load dynamic backends from specified directory | ||
Backend Directory = /tmp/core/src/cats | ||
|
||
# remove comment from "Plugin Directory" to load plugins from specified directory. | ||
# if "Plugin Names" is defined, only the specified plugins will be loaded, | ||
# otherwise all director plugins (*-dir.so) from the "Plugin Directory". | ||
# | ||
# Plugin Directory = "/tmp/plugindir" | ||
# Plugin Names = "" | ||
Working Directory = "/tmp/tests/backup-bareos-test/working" | ||
Pid Directory = "/tmp/piddir" | ||
DirPort = 42001 | ||
} |
11 changes: 11 additions & 0 deletions
11
core/src/tests/configs/scheduler-on-time-noday/bareos-dir.d/fileset/Catalog.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FileSet { | ||
Name = "Catalog" | ||
Description = "Backup the catalog dump and Bareos configuration files." | ||
Include { | ||
Options { | ||
signature = MD5 | ||
} | ||
File = "/tmp/tests/backup-bareos-test/working/regress_backup_bareos_test.sql" # database dump | ||
File = "/tmp/tests/backup-bareos-test/etc/bareos" # configuration | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
core/src/tests/configs/scheduler-on-time-noday/bareos-dir.d/fileset/LinuxAll.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FileSet { | ||
Name = "LinuxAll" | ||
Description = "Backup all regular filesystems, determined by filesystem type." | ||
Include { | ||
Options { | ||
Signature = MD5 # calculate md5 checksum per file | ||
One FS = No # change into other filessytems | ||
FS Type = btrfs | ||
FS Type = ext2 # filesystems of given types will be backed up | ||
FS Type = ext3 # others will be ignored | ||
FS Type = ext4 | ||
FS Type = reiserfs | ||
FS Type = jfs | ||
FS Type = xfs | ||
FS Type = zfs | ||
} | ||
File = / | ||
} | ||
# Things that usually have to be excluded | ||
# You have to exclude /tmp/tests/backup-bareos-test/storage | ||
# on your bareos server | ||
Exclude { | ||
File = /tmp/tests/backup-bareos-test/working | ||
File = /tmp/tests/backup-bareos-test/storage | ||
File = /proc | ||
File = /tmp | ||
File = /var/tmp | ||
File = /.journal | ||
File = /.fsck | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
core/src/tests/configs/scheduler-on-time-noday/bareos-dir.d/fileset/SelfTest.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FileSet { | ||
Name = "SelfTest" | ||
Description = "fileset just to backup some files for selftest" | ||
Include { | ||
Options { | ||
Signature = MD5 # calculate md5 checksum per file | ||
} | ||
#File = "/tmp/sbin" | ||
File=</tmp/tests/backup-bareos-test/tmp/file-list | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
core/src/tests/configs/scheduler-on-time-noday/bareos-dir.d/fileset/Windows All Drives.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FileSet { | ||
Name = "Windows All Drives" | ||
Enable VSS = yes | ||
Include { | ||
Options { | ||
Signature = MD5 | ||
Drive Type = fixed | ||
IgnoreCase = yes | ||
WildFile = "[A-Z]:/pagefile.sys" | ||
WildDir = "[A-Z]:/RECYCLER" | ||
WildDir = "[A-Z]:/$RECYCLE.BIN" | ||
WildDir = "[A-Z]:/System Volume Information" | ||
Exclude = yes | ||
} | ||
File = / | ||
} | ||
} |
Oops, something went wrong.