]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/win32-bacula-dir.conf.in
update configure
[bacula/bacula] / regress / scripts / win32-bacula-dir.conf.in
index 54bcca711b928c9a5ebc5ff769f29fae0d946447..9e10c25a91753612d2bb6d948867b3c93f6dadb6 100644 (file)
@@ -5,7 +5,6 @@
 #   file or directory names in the Include directive of the
 #   FileSet resource.
 #
-#  For Bacula release 2.3.20  
 #
 #
 
@@ -36,6 +35,59 @@ Job {
   SpoolData = yes
 }
 
+#
+# Define the main nightly save backup job
+#   By default, this job will back up to disk in @tmpdir@
+Job {
+  Name = "SystemstateJob"
+  Type = Backup
+  Client = @win32_client@
+  FileSet = "SystemState Set"
+  Storage = File
+  Messages = Standard
+  Pool = Default
+  Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Maximum Concurrent Jobs = 4
+}
+
+Job {
+  Name = "AccurateJob"
+  Type = Backup
+  Client = @win32_client@
+  FileSet = "Full Set"
+  Storage = File
+  Messages = Standard
+  Pool = Default
+  Accurate = yes
+  Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Maximum Concurrent Jobs = 4
+  SpoolData = yes
+}
+
+Job {
+  Name = "RunScript"
+  Type = Backup
+  Client = @win32_client@
+  FileSet = "Full Set"
+  Storage = File
+  Messages = Standard
+  Pool = Default
+  Write Bootstrap = "@working_dir@/NightlySave.bsr"
+  Maximum Concurrent Jobs = 4
+  SpoolData = yes
+
+  RunScript {
+   Command = "c:\\tmp\\weird_runscript\\test.bat"               # ok  | ok  | ok
+   Command = "c:/tmp/weird_runscript/test.bat"                  # ok  | ok  | ok
+   Command = "\"c:/tmp/weird_runscript/dir space/test.bat\""    # ok  | ok  | ok
+   Command = "\"c:/tmp/weird_runscript/dir space/test2 space.bat\"" # ok|ok|ok
+   Command = "c:/tmp/weird_runscript/testé.bat"                 # ok  | ok  | ok
+   Command = "c:\\tmp\\weird_runscript\\testé.bat"              # ok  | ok  | ok
+   Command = "\"c:\\tmp\\weird_runscript\\test space.bat\""     # ok  | ok  | ok
+   RunsWhen = AfterVSS
+   FailJobOnError = no
+ }    
+}
 
 # Standard Restore template, to be changed by Console program
 Job {
@@ -62,7 +114,33 @@ FileSet {
      File = "@win32_file@"
   }
 }
+# List of files to be backed up
+FileSet {
+  Name = "SystemState Set"
+  Enable VSS = yes
+  Include { 
+     Options { 
+        signature=MD5; portable=no  
+#      compression=GZIP
+     }
+     File = "@win32_file@"
+     Plugin = "systemstate:/@SYSTEMSTATE/"
+  }
+}
 
+# List of files to be backed up
+FileSet {
+  Name = "Plugin Set"
+  Enable VSS = yes
+  Include { 
+     Options { 
+        signature=MD5; portable=no  
+#      compression=GZIP
+     }
+     File = "@win32_file@"
+     Plugin = "systemstate:/@SYSTEMSTATE/"
+  }
+}
 
 #
 # When to do the backups, full backup on first sunday of the month,