]> 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 2e8c78cf1e178d9f81e1a9e2e99d01d316b6d4e0..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,21 @@ 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
@@ -63,11 +77,13 @@ Job {
   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/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
+   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
  }    
@@ -98,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,