I've never tried to do this, so I can't say for sure that Bacula isn't
capable of handling it, but according to the document here..
http://bacula.org/manuals/en/install/install/Storage_Daemon_Configuratio.html#SECTION00830000000000000000
Requires Mount = Yes|No
When this directive is enabled, the Storage daemon will submit a
Mount Command before attempting to open the device. You must set this
directive to yes for DVD-writers and removable file systems such as USB
devices that are not automatically mounted by the operating system when
plugged in or opened by Bacula. *It should be set to no for all other
devices such as tapes and fixed filesystems.* It should also be set to
no for any removable device that is automatically mounted by the
operating system when opened (e.g. USB devices mounted by udev or
hotplug). This directive indicates if the device requires to be mounted
using the Mount Command. To be able to write a DVD, the following
directives must also be defined: Mount Point, Mount Command, Unmount
Command and Write Part Command.
Granted, this is not for the "AutomaticMount" option specifically, but
it would lead me to believe that Bacula is not designed to mount disks
for you. If you want to try and trick Bacula in to handling it for you,
I would read through the page I linked above. It has details on
additional options I think you'd need (like "Mount Command").
Good luck!
Diego Gallardo wrote:
Im just running on a similar problem.
So the configuration should be:
Device {
Name = FileStorage
Media Type = File
Archive Device = /mnt/disk # The mount point of the disk
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
I should mount it before backup ?
Thanks.
Diego Gallardo
/////////////////////////
\\\\\\ 10GO \\\\\\
////////////////////////
--
Lee Huffman | l...@shiftedlabs.com
President - Shifted Labs, Inc.
P: 206-569-4316
F: 206-508-3935
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users