# bacula-dir-cloud.conf # # JobDefs # Job # Restore # Pool # Autochanger # # Template to store in cloud JobDefs { Name = "DefaultJobToCloud" Type = Backup Level = Incremental Client = bacula-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = "CloudS3" Messages = Standard Pool = Cloud SpoolAttributes = yes Priority = 10 Write Bootstrap = "/opt/bacula/working/%c.bsr" } # Jobs Job { Name = "BackupClient1ToCloud" JobDefs = "DefaultJobToCloud" } # Restore Job { Name = "RestoreFromCloud" Type = Restore Client=bacula-fd Storage = CloudS3 FileSet="Full Set" Pool = Cloud Messages = Standard Where = /tmp/bacula-restores } # Cloud Pool definition Pool { Name = Cloud Pool Type = Backup Recycle = no # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Maximum Volume Jobs = 1 # # Maximum Volume Bytes = 100M # Limit Volume size to something reasonable Label Format = "Vol-JobId-${JobId}" # Auto label } # Autochanger definition Autochanger { Name = "CloudS3" # Do not use "localhost" here Address = bacula-sd # N.B. Use a fully qualified name here SDPort = 9103 Password = "TS8EQJ99iLFSK39oJy33YqkZ98v4ZapjRcA+j1N6ED1n" Device = "CloudAutoChanger1" Media Type = "CloudType" Maximum Concurrent Jobs = 10 # run up to 10 jobs a the same time } # #Autochanger { # Name = "CloudS3-2" ## Do not use "localhost" here # Address = bacula-sd # N.B. Use a fully qualified name here # SDPort = 9103 # Password = "TS8EQJ99iLFSK39oJy33YqkZ98v4ZapjRcA+j1N6ED1n" # Device = "CloudAutoChanger2" # Media Type = "CloudType" # Maximum Concurrent Jobs = 10 # run up to 10 jobs a the same time #} # #Autochanger { # Name = "CloudS3-3" ## Do not use "localhost" here # Address = bacula-sd # N.B. Use a fully qualified name here # SDPort = 9103 # Password = "TS8EQJ99iLFSK39oJy33YqkZ98v4ZapjRcA+j1N6ED1n" # Device = "CloudAutoChanger3" # Media Type = "CloudType" # Maximum Concurrent Jobs = 10 # run up to 10 jobs a the same time #} #