X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fdird%2Fbacula-dir.conf.in;h=b1505056e7f739dd14df4e6c54bac10e98ac8d4e;hb=44566f589dd96e4414e38ec4bf7d76b22fbcd9aa;hp=bb56eacb042686fc4165c25db1564aa44fca56ad;hpb=5b184affc3614dbfd9ec8311b5f635f89d1ecda2;p=bacula%2Fbacula diff --git a/bacula/src/dird/bacula-dir.conf.in b/bacula/src/dird/bacula-dir.conf.in index bb56eacb04..b1505056e7 100644 --- a/bacula/src/dird/bacula-dir.conf.in +++ b/bacula/src/dird/bacula-dir.conf.in @@ -20,7 +20,7 @@ Director { # define myself PidDirectory = "@piddir@" Maximum Concurrent Jobs = 1 Password = "@dir_password@" # Console password - Messages = Standard + Messages = Daemon } JobDefs { @@ -46,6 +46,13 @@ Job { Write Bootstrap = "@working_dir@/Client1.bsr" } +#Job { +# Name = "Client2" +# Client = @hostname@2-fd +# JobDefs = "DefaultJob" +# Write Bootstrap = "@working_dir@/Client2.bsr" +#} + # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalog" @@ -54,18 +61,25 @@ Job { FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog - RunBeforeJob = "@scriptdir@/make_catalog_backup -u bacula" + RunBeforeJob = "@scriptdir@/make_catalog_backup bacula bacula" # This deletes the copy of the catalog RunAfterJob = "@scriptdir@/delete_catalog_backup" Write Bootstrap = "@working_dir@/BackupCatalog.bsr" Priority = 11 # run after main backup } +# # Standard Restore template, to be changed by Console program +# Only one such job is needed for all Jobs/Clients/Storage ... +# Job { Name = "RestoreFiles" - JobDefs = "DefaultJob" Type = Restore + Client=@hostname@-fd + FileSet="Full Set" + Storage = File + Pool = Default + Messages = Standard Where = /tmp/bacula-restores } @@ -73,12 +87,15 @@ Job { # List of files to be backed up FileSet { Name = "Full Set" - Include = signature=MD5 { + Include { + Options { + signature = MD5 + } # -# Put your list of files here, one per line or include an -# external list with: +# Put your list of files here, preceded by 'File =', one per line +# or include an external list with: # -#