1 2define(`CLIENT',` 3Job { 4 Name = "$1" 5 JobDefs = "$3" 6 Client = "$1" 7 FileSet = "$1" 8 Write Bootstrap = "/var/bacula/working/$1.bsr" 9} 10 11Client { 12 Name = "$1" 13 Address = "$2" 14 FDPort = 9102 15 Catalog = MyCatalog 16 Password = "ilF0PZoICjQ60R3E3dks08Rq36KK8cDGJUAaW" # password for FileDaemon 17 File Retention = 30 days # 30 days 18 Job Retention = 6 months # six months 19 AutoPrune = yes # Prune expired Jobs/Files 20} 21') 22 23 24define(`STORAGE', ` 25Storage { 26 Name = "$1" 27 Address = "$3" 28 SDPort = 9103 29 Password = "KLUwcp1ZTeIc0x265UPrpWW28t7d7cRXmhOqyHxRr" 30 Device = "$1" # must be same as Device in Storage daemon 31 Media Type = "$2" # must be same as MediaType in Storage daemon 32}') 33 34 35define(`POOL', ` 36Pool { 37 Name = "$1" 38 Pool Type = Backup 39 Recycle = yes # Bacula can automatically recycle Volumes 40 AutoPrune = yes # Prune expired volumes 41 Volume Retention = 365 days # one year 42 Accept Any Volume = yes # write on any volume in the pool 43 Cleaning Prefix = "CLN" 44}') 45 46