]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl add Max...Time regression script
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 5 May 2007 08:35:38 +0000 (08:35 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 5 May 2007 08:35:38 +0000 (08:35 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4702 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/bacula-dir.conf.maxtime.in [new file with mode: 0644]
regress/scripts/do_sed

diff --git a/regress/scripts/bacula-dir.conf.maxtime.in b/regress/scripts/bacula-dir.conf.maxtime.in
new file mode 100644 (file)
index 0000000..239d6d7
--- /dev/null
@@ -0,0 +1,132 @@
+#
+# Default Bacula Director Configuration file
+#
+#  The only thing that MUST be changed is to add one or more
+#   file or directory names in the Include directive of the
+#   FileSet resource.
+#
+#  For Bacula release 1.39.27 (24 October 2006) -- debian testing/unstable
+#
+#  You might also want to change the default email address
+#   from root to your address.  See the "mail" and "operator"
+#   directives in the Messages resource.
+#
+
+Director {                            # define myself
+  Name = @hostname@-dir
+  DIRport = 8101                # where we listen for UA connections
+  QueryFile = "@scriptdir@/query.sql"
+  WorkingDirectory = "@working_dir@"
+  PidDirectory = "@piddir@"
+  SubSysDirectory = "@subsysdir@"
+  Maximum Concurrent Jobs = 4
+  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
+  Messages = Standard
+}
+
+JobDefs {
+  Name = "DefaultJob"
+  Type = Backup
+  Level = Incremental
+  Client = @hostname@-fd 
+  FileSet = FS_TESTJOB
+  Storage = File
+  Messages = Standard
+  Pool = Default
+  Priority = 10
+  Maximum Concurrent Jobs = 16
+}
+
+FileSet {
+ Name = FS_TESTJOB
+ Include {
+   File=</tmp/file-list
+ }
+}
+
+FileSet {
+ Name = FS_FIFO
+ Include {
+   Options {
+     read fifo = yes
+   }
+   File=/tmp/fifo
+ }
+}
+
+Job {
+  Name = "RUN_MAXWAITTIME"
+  JobDefs = DefaultJob
+  FileSet = FS_TESTJOB
+  MaxWaitTime = 2min
+}
+
+Job {
+  Name = "RUN_MAXSTARTDELAY"
+  JobDefs = DefaultJob
+  FileSet = FS_TESTJOB
+  MaxStartDelay = 1min
+  Pool = PoolA
+}
+
+Job {
+  Name = "RUN_MAXRUNTIME"
+  JobDefs = DefaultJob
+  FileSet = FS_FIFO
+  MaxRunTime = 1min
+}
+
+# Client (File Services) to backup
+Client {
+  Name = @hostname@-fd
+  Address = @hostname@
+  FDPort = 8102
+  Catalog = MyCatalog
+  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
+  File Retention = 30d                # 30 days
+  Job Retention = 180d                # six months
+  AutoPrune = yes                     # Prune expired Jobs/Files
+  Maximum Concurrent Jobs = 4
+}
+
+# Definiton of file storage device
+Storage {
+  Name = File
+  Address = @hostname@                # N.B. Use a fully qualified name here
+  SDPort = 8103
+  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
+  Device = FileStorage
+  Media Type = File
+  Maximum Concurrent Jobs = 4
+}
+
+# Generic catalog service
+Catalog {
+  Name = MyCatalog
+  dbname = regress; user = regress; password = ""
+}
+
+
+Messages {
+  Name = Standard
+  console = all, !skipped, !saved
+}
+
+# Default pool definition
+Pool {
+  Name = Default
+  Pool Type = Backup
+  Recycle = yes                       # Bacula can automatically recycle Volumes
+  AutoPrune = yes                     # Prune expired volumes
+  Volume Retention = 365d             # one year
+}
+
+
+# Default pool definition
+Pool {
+  Name = PoolA
+  Pool Type = Backup
+  Recycle = yes                       # Bacula can automatically recycle Volumes
+  AutoPrune = yes                     # Prune expired volumes
+  Volume Retention = 365d             # one year
+}
index 0511e641b551c8e7434eb468bdd310287878eefd..c5169c8e0da01e20e85e416d4562e8d3a7b082e9 100755 (executable)
@@ -36,6 +36,7 @@ echo "TAPE_DRIVE1=\"${5}\"" >>config.out
 # process .in files with sed script
 sed -f ${out} ${cwd}/scripts/test-bacula-dir.conf.in >${cwd}/scripts/test-bacula-dir.conf
 sed -f ${out} ${cwd}/scripts/bacula-dir.conf.regexwhere.in >${cwd}/scripts/bacula-dir.conf.regexwhere
+sed -f ${out} ${cwd}/scripts/bacula-dir.conf.maxtime.in >${cwd}/scripts/bacula-dir.conf.maxtime
 sed -f ${out} ${cwd}/scripts/new-test-bacula-dir.conf.in >${cwd}/scripts/new-test-bacula-dir.conf
 sed -f ${out} ${cwd}/scripts/testa-bacula-dir.conf.in >${cwd}/scripts/testa-bacula-dir.conf
 sed -f ${out} ${cwd}/scripts/test-bacula-fd.conf.in >${cwd}/scripts/test-bacula-fd.conf