doc:appunti:linux:sa:bacula_virtual_changer_config
This is an old revision of the document!
Configurazione virtual changer per Bacula
Con questa configurazione si simula un magazzino di nastri su disco esterno USB. Ogni disco sarà visto come un nuovo magazzino con un certo numero di nastri (volumi).
# Virtual tapes pool Pool { Name = "pool02" Pool Type = Backup Recycle = yes AutoPrune = yes Action On Purge = Truncate Volume Retention = 3 month Maximum Volume Bytes = 40G Maximum Volumes = 24 Maximum Volume Jobs = 0 LabelFormat = "p02v" Volume Use Duration = 1 week }
/etc/bacula/bacula-sd.conf
#--------------------------------------------------------------- # 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; }
/etc/bacula/vchanger-usbchanger1.conf
baculasd="usbchanger1" baculasd_user=bacula bconsole=/usr/bin/bconsole magslots=20 maxdrive=0 mountpoint=/mnt/usbchanger1/magazine statedir=/var/lib/bacula/usbchanger1
doc/appunti/linux/sa/bacula_virtual_changer_config.1377762598.txt.gz · Last modified: 2013/08/29 09:49 by niccolo