Client { Name = www-fd Address =
FDPort = 9102 Catalog = MyCatalog Password = "password" # password for FileDaemon File Retention = 35 days Job Retention = 35 days AutoPrune = yes # Prune expired Jobs/Files } Job { Name = "www-1" Client = www-fd JobDefs = "DefaultJob" FileSet = "www" Schedule = "www-1" Write Bootstrap = "/usr/local/bacula/var/www-1.bsr" Pool = "www-1" Storage = File-www-1 } Job { Name = "www-2" Client = www-fd JobDefs = "DefaultJob" FileSet = "www" Schedule = "www-2" Write Bootstrap = "/usr/local/bacula/var/www-2.bsr" Pool = "www-2" Storage = File-www-2 } Job { Name = "www-db" JobDefs = "DefaultJob" Level = Full FileSet=www-db Client = www-fd Schedule = "Daily" ClientRunBeforeJob = "/usr/local/bacula/etc/make_pg_dump" ClientRunAfterJob = "rm /usr/local/bacula/var/pgdump.sql" Write Bootstrap = "/usr/local/bacula/var/www-db.bsr" Pool="www-db" Storage="File-www-db" } Schedule { Name = "Daily" Run = Full 1-31 at 22:50 } Schedule { Name = "www-1" Run = Full jan 1 at 23:05 Run = Full mar 1 at 23:05 Run = Full may 1 at 23:05 Run = Full jul 1 at 23:05 Run = Full sep 1 at 23:05 Run = Full nov 1 at 23:05 Run = Incremental jan 2-31 at 23:05 Run = Incremental mar 2-31 at 23:05 Run = Incremental may 2-31 at 23:05 Run = Incremental jul 2-31 at 23:05 Run = Incremental sep 2-31 at 23:05 Run = Incremental nov 2-31 at 23:05 } Schedule { Name = "www-2" Run = Full feb 1 at 23:05 Run = Full apr 1 at 23:05 Run = Full jun 1 at 23:05 Run = Full aug 1 at 23:05 Run = Full oct 1 at 23:05 Run = Full dec 1 at 23:05 Run = Incremental feb 2-31 at 23:05 Run = Incremental apr 2-31 at 23:05 Run = Incremental jun 2-31 at 23:05 Run = Incremental aug 2-31 at 23:05 Run = Incremental oct 2-31 at 23:05 Run = Incremental dec 2-31 at 23:05 } Pool { Name = www-1 Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 33 days Label Format = "www-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}" Recycle Oldest Volume = yes Maximum Volume Bytes = 4650000000 Storage = File-www-1 Maximum Volume Jobs = 1 } Pool { Name = www-2 Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 33 days Label Format = "www-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}" Recycle Oldest Volume = yes Maximum Volume Bytes = 4650000000 Storage = File-www-2 Maximum Volume Jobs = 1 } Pool { Name = www-db Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 31 days Label Format = "www-db-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}" Recycle Oldest Volume = yes Storage = File-www-db Maximum Volume Jobs = 1 } Storage { Name = File-www-1 # Do not use "localhost" here Address =
# N.B. Use a fully qualified name here SDPort = 9103 Password = "password" Device = FileStorage-www-1 Media Type = File-www-1 } Storage { Name = File-www-2 # Do not use "localhost" here Address =
# N.B. Use a fully qualified name here SDPort = 9103 Password = "password" Device = FileStorage-www-2 Media Type = File-www-2 } Storage { Name = File-www-db # Do not use "localhost" here Address =
# N.B. Use a fully qualified name here SDPort = 9103 Password = "password" Device = FileStorage-www-db Media Type = File-www-db } FileSet { Name = www-db Include { Options { signature = MD5 compression = GZIP } File = /usr/local/bacula/var/pgdump.sql } } FileSet { Name = www Ignore FileSet Changes = Yes Include { Options { compression = GZIP signature = SHA1 onefs = yes aclsupport = yes noatime = yes checkfilechanges = yes } File = ... } Exclude { .... } }