Device { Name = usb-changer-1-drive-0 Drive Index = 0 Autochanger = yes; Device Type = File Media Type = Disk Archive Device = /mnt/usbdocking1 LabelMedia = yes;
Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = yes; Maximum Concurrent Jobs = 5 }
Device { Name = usb-changer-1-drive-1 Drive Index = 1 Autochanger = yes;
Device Type = File Media Type = Disk #Archive Device = /mnt/usbdocking1 Archive Device = /mnt/usbdocking2
Different archive device. You need a different Media type for this device.
LabelMedia = yes; Random Access = Yes;
AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = yes; Maximum Concurrent Jobs = 5 }
#bacula-dir.conf
JobDefs { Name = "TestJob" Type = Backup Level = Full
Client = bacula-fd FileSet = "Test Backup" Storage = usbchanger1 Messages = Standard Pool = TestPool Priority = 11 }
Storage { Name = usbchanger1 Address = localhost
SDPort = 9103 Password = "WfYdG2,/8P" Device = usb-changer-1 Media Type = File Autochanger = yes; }
Pool { Name = TestPool Pool Type = Backup Recycle = no AutoPrune = yes
Volume Retention = 7 days Label Format = Test- }
#Error 27-May 19:18 bacula-dir JobId 867:
Start Backup JobId 867, Job=TestBkup.2014-05-27_19.18.40_03 27-May 19:18 bacula-sd JobId 867: Fatal error: Device reservation failed for JobId=867: 27-May 19:18 bacula-dir JobId 867: Fatal error: Storage daemon didn't accept Device "usb-changer-1" because:
3924 Device "usb-changer-1" not in SD Device resources or no matching Media Type.
No matching media type for Director point of view of Storage and Storage itself (File vs. Disk).
When changed Media Type from "Disk" to "File', I could run the job but a new volume was created on usbdocking1 but not usbdocking2 when HDD is full on usbdocking1? If using same archive device (e.g. usbdocking1), it won't backup on to another even the HDD is full. Any hints? Thanks in advance!
What do you expect? Bacula uses single disk storage like a single tape library. There is no build in mechanism for failover a libraries.
If I where you I'll fasten both drives into a single filesystem any method.
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet