Re: [Bacula-users] Labeling when using native virtual autochanger
2015-08-25 18:56:56
Hello Dan,
Heitor is right :)
I run tests with exactly your configuration and had the same issue. The drive index 0 must exist and belongs to the autochanger resource. You have an Index 0 drive in your configuration: vRestore. But it is not in the Autochanger definition. If you put it there, it will work:
|
Autochanger { | | Name = VirtualDisk | |
| | Changer Device = /dev/null | | Changer Command = /dev/null | |
| | Device = vRestore, vDrive-1, vDrive-2, vDrive-3, vDrive-4, vDrive-5 | | } | |
I tried defining the vRestore drive with "autoselect = no" (this work for physical autochangers). But it seems to make no sense when dealing with virtual disk autochangers.
Having a single drive for restores worked for me. I was able to restore files from jobs/volumes that used the autochanger for backup.
Device { | | Name = Restore -Drive | | Media Type = File | | Archive Device = /usr/local/bacula/volumes | | LabelMedia = yes | | Random Access = yes | | AutomaticMount = yes | | RemovableMedia = yes | | AlwaysOpen = yes
|
}
Best regards, Ana
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|