X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fdird%2Fbacula-dir.conf.in;h=b1505056e7f739dd14df4e6c54bac10e98ac8d4e;hb=44566f589dd96e4414e38ec4bf7d76b22fbcd9aa;hp=fd5b8ecd46905ec0e7d072cfc5d4ef3c40a2a101;hpb=3832d5494f5de3cc5a3a40a47f086af6a30cafd5;p=bacula%2Fbacula diff --git a/bacula/src/dird/bacula-dir.conf.in b/bacula/src/dird/bacula-dir.conf.in index fd5b8ecd46..b1505056e7 100644 --- a/bacula/src/dird/bacula-dir.conf.in +++ b/bacula/src/dird/bacula-dir.conf.in @@ -20,52 +20,66 @@ Director { # define myself PidDirectory = "@piddir@" Maximum Concurrent Jobs = 1 Password = "@dir_password@" # Console password - Messages = Standard + Messages = Daemon } -# -# Define the main nightly save backup job -# By default, this job will back up to disk in /tmp -Job { - Name = "Client1" +JobDefs { + Name = "DefaultJob" Type = Backup + Level = Incremental Client = @hostname@-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default - Write Bootstrap = "@working_dir@/Client1.bsr" Priority = 10 } + +# +# Define the main nightly save backup job +# By default, this job will back up to disk in /tmp +Job { + Name = "Client1" + JobDefs = "DefaultJob" + 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" - Type = Backup - Client=@hostname@-fd + JobDefs = "DefaultJob" + Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" - Storage = File - Messages = Standard - Pool = Default # 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" Type = Restore - Client=@hostname@-fd - FileSet="Full Set" - Storage = File - Messages = Standard + 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: # -#