# file or directory names in the Include directive of the
# FileSet resource.
#
-# For Bacula release 2.3.20
#
#
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 {
Include {
Options {
signature=MD5; portable=no
- compression=GZIP
+# compression=GZIP
+ }
+ 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,
Maximum Concurrent Jobs = 4
}
-Client {
- Name = localhost-fd
- Address = localhost
- FDPort = @fdport@
- Catalog = MyCatalog
- Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
- File Retention = 30d # 30 days
- Job Retention = 180d # six months
- AutoPrune = yes # Prune expired Jobs/Files
- Maximum Concurrent Jobs = 4
-}
-
-# Definition of DDS tape storage device
+# Definition of File storage device
Storage {
Name = File
- Address = @hostname@-sd # N.B. Use a fully qualified name here
+ Address = @win32_store_addr@ # N.B. Use a fully qualified name here
SDPort = @sdport@
Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
- Device = File # must be same as Device in Storage daemon
+ Device = FileStorage # must be same as Device in Storage daemon
Media Type = File # must be same as MediaType in Storage daemon
- AutoChanger = yes
+# AutoChanger = yes
Maximum Concurrent Jobs = 4
}
# also keep all your messages if the scroll off the console.
#
append = "@working_dir@/log" = all, !skipped
+ catalog = all, !skipped
}
#
# mail = @job_email@ = all, !skipped
console = all, !skipped, !saved
append = "@working_dir@/log" = all, !skipped
+ catalog = all, !skipped
}