Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SelfTest fileset added
For the regression tests and for first tries it is better
to have a SelfTest fileset that only backups a limited
amount of data.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
pstorz authored and Marco van Wieringen committed Feb 17, 2015
1 parent 42433b3 commit 4d7f4c1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
15 changes: 14 additions & 1 deletion src/defaultconfigs/diskonly/bareos-dir.conf.in
Expand Up @@ -39,6 +39,9 @@
# Incremental Backups are written into the "Incremental" Pool (#11)
# Incremental Backups are kept for 30 Days (#12)
#
# What you also have to do is to change the default fileset (#13)
# to either one of the demo filesets given or create our own fileset.
#
#
#
# For Bareos release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
Expand All @@ -60,7 +63,7 @@ JobDefs {
Type = Backup
Level = Incremental
Client = @basename@-fd
FileSet = "Linux All"
FileSet = "SelfTest" # selftest fileset (#13)
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Expand Down Expand Up @@ -169,6 +172,16 @@ FileSet {

}

# fileset just to backup some files for selftest
FileSet {
Name = "SelfTest"
Include {
Options {
Signature = MD5 # calculate md5 checksum per file
}
File = @sbindir@
}
}

Schedule {
Name = "WeeklyCycle"
Expand Down
15 changes: 14 additions & 1 deletion src/dird/bareos-dir.conf.in
Expand Up @@ -39,6 +39,9 @@
# Incremental Backups are written into the "Incremental" Pool (#11)
# Incremental Backups are kept for 30 Days (#12)
#
# What you also have to do is to change the default fileset (#13)
# to either one of the demo filesets given or create our own fileset.
#
#
#
# For Bareos release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
Expand All @@ -60,7 +63,7 @@ JobDefs {
Type = Backup
Level = Incremental
Client = @basename@-fd
FileSet = "Linux All"
FileSet = "SelfTest" # selftest fileset (#13)
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Expand Down Expand Up @@ -169,6 +172,16 @@ FileSet {

}

# fileset just to backup some files for selftest
FileSet {
Name = "SelfTest"
Include {
Options {
Signature = MD5 # calculate md5 checksum per file
}
File = @sbindir@
}
}

Schedule {
Name = "WeeklyCycle"
Expand Down

0 comments on commit 4d7f4c1

Please sign in to comment.