User Tools

Site Tools


doc:appunti:linux:sa:bacula_virtual_changer_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
doc:appunti:linux:sa:bacula_virtual_changer_config [2013/08/29 07:45] – created niccolodoc:appunti:linux:sa:bacula_virtual_changer_config [2013/08/29 07:49] niccolo
Line 18: Line 18:
   Volume Use Duration = 1 week   Volume Use Duration = 1 week
 } }
 +</file>
 +
 +**''/etc/bacula/bacula-sd.conf''**
 +
 +<file>
 +#---------------------------------------------------------------
 +# local virtual autochanger with USB drive "magazines"
 +#---------------------------------------------------------------
 +Autochanger {
 +  Name = usb-changer-1
 +  Device = usb-changer-1-drive-0
 +  Changer Command = "/usr/local/sbin/vchanger %c %o %S %a %d"
 +  Changer Device = "/etc/bacula/vchanger-usbchanger1.conf"
 +}
 +
 +#---------------------------------------------------------------
 +# Drive 0 of the usb-changer-1 autochanger
 +#---------------------------------------------------------------
 +Device {
 +  Name = usb-changer-1-drive-0
 +  DriveIndex = 0
 +  Autochanger = yes;
 +  DeviceType = File
 +  MediaType = File
 +  ArchiveDevice = /var/lib/bacula/usbchanger1/drive0
 +  RemovableMedia = no;
 +  RandomAccess = yes;
 +}
 +</file>
 +
 +**''/etc/bacula/vchanger-usbchanger1.conf''**
 +
 +<file>
 +baculasd="usbchanger1"
 +baculasd_user=bacula
 +bconsole=/usr/bin/bconsole
 +magslots=20
 +maxdrive=0
 +mountpoint=/mnt/usbchanger1/magazine
 +statedir=/var/lib/bacula/usbchanger1
 </file> </file>
doc/appunti/linux/sa/bacula_virtual_changer_config.txt · Last modified: 2013/09/02 08:21 by niccolo