From 4d7f4c17af5ce6b2832e55de0e315a2e5cb74491 Mon Sep 17 00:00:00 2001 From: Philipp Storz Date: Mon, 9 Sep 2013 16:50:45 +0200 Subject: [PATCH] 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 --- src/defaultconfigs/diskonly/bareos-dir.conf.in | 15 ++++++++++++++- src/dird/bareos-dir.conf.in | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/defaultconfigs/diskonly/bareos-dir.conf.in b/src/defaultconfigs/diskonly/bareos-dir.conf.in index 47605da5582..62a309e8e47 100644 --- a/src/defaultconfigs/diskonly/bareos-dir.conf.in +++ b/src/defaultconfigs/diskonly/bareos-dir.conf.in @@ -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@ @@ -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 @@ -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" diff --git a/src/dird/bareos-dir.conf.in b/src/dird/bareos-dir.conf.in index 47605da5582..62a309e8e47 100644 --- a/src/dird/bareos-dir.conf.in +++ b/src/dird/bareos-dir.conf.in @@ -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@ @@ -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 @@ -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"