Skip to content

Instantly share code, notes, and snippets.

@cecil
Last active February 23, 2016 22:01
Show Gist options
  • Select an option

  • Save cecil/7979c17ec49cc3b2951a to your computer and use it in GitHub Desktop.

Select an option

Save cecil/7979c17ec49cc3b2951a to your computer and use it in GitHub Desktop.
example bacula conf for one sd with multiple autochangers
# Definition of file storage device
Storage {
Name = Library-00
Address = host.cluster.local
SDPort = 9103
Password = "whargarbl"
Device = Autoloader-00
Media Type = LTO-6
}
Storage {
Name = Library-01
Address = host.cluster.local
SDPort = 9103
Password = "whargarbl"
Device = Autoloader-01
Media Type = LTO-6
}
Device {
Name = Autoloader-00
MediaType = LTO-6
ArchiveDevice = /dev/nst0
Autochanger = yes
LabelMedia = no
DriveIndex = 0
RandomAccess = No;
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
}
Device {
Name = Autoloader-01
MediaType = LTO-6
ArchiveDevice = /dev/nst1
Autochanger = yes
LabelMedia = no
DriveIndex = 0
RandomAccess = No;
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment