Skip to content

Instantly share code, notes, and snippets.

@brodul
Created March 7, 2012 20:48
Show Gist options
  • Save brodul/1996106 to your computer and use it in GitHub Desktop.
Save brodul/1996106 to your computer and use it in GitHub Desktop.
# {{parts.this.hostname}} client configuration
Client {
Name = {{parts.this.hostname}}-fd
Address = {{parts.this.ip}}
FDPort = {{parts.ports.bacula_fd}}
Catalog = MyCatalog
Password = "{{fd}}" # password for FileDaemon
}
FileSet {
Name = "{{parts.this.hostname}}-set"
Enable VSS = no
Include {
Options {
signature = SHA1
compression = GZIP1
noatime = yes
wildfile = "*.iso"
Exclude = yes
}
File = "C:/Users/Alenka/Documents"
}
# Add paths to backup
}
Job {
Name = backup-{{parts.this.hostname}}
JobDefs = DesktopJob
Client = {{parts.this.hostname}}-fd
Storage = File
Level = Incremental
Pool = Default
Full Backup Pool = {{parts.this.hostname}}-full
Differential Backup Pool = {{parts.this.hostname}}-diff
Incremental Backup Pool = {{parts.this.hostname}}-inc
FileSet = "{{parts.this.hostname}}-set"
}
Pool {
Name = {{parts.this.hostname}}-full
Label Format = {{parts.this.hostname}}-full-
@/etc/bacula/pool_defaults.conf
@/etc/bacula/pool_full_defaults.conf
}
Pool {
Name = {{parts.this.hostname}}-diff
Label Format = {{parts.this.hostname}}-diff-
@/etc/bacula/pool_defaults.conf
@/etc/bacula/pool_diff_defaults.conf
}
Pool {
Name = {{parts.this.hostname}}-inc
Label Format = {{parts.this.hostname}}-inc-
@/etc/bacula/pool_defaults.conf
@/etc/bacula/pool_inc_defaults.conf
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment