Hi,
23.02.2008 11:09, Gert Burger wrote:
> Hi
>
> I am attempting to setup a system where a person attaches a external
> drive with a eSATA cable. Then later the night bacula will do its thing.
> The drive will then be alternated with a few other drives each day.
>
> My problem is:
> 23-Feb 11:52 baraddur.local-sd JobId 38: Please mount Volume
> "backup-job18-2008-2-22" or label a new one for:
> Job: Baraddur.2008-02-23_11.52.21
> Storage: "FileStorage" (/mnt/backup1/)
> Pool: Default
> Media type: File
>
> My device section in my SD config is:
> Device {
> Name = FileStorage
> Media Type = File
> Archive Device = /mnt/backup1/
> LabelMedia = yes;
> Random Access = Yes;
> AutomaticMount = yes;
> RemovableMedia = Yes;
> AlwaysOpen = Yes;
> Requires Mount = Yes;
> Mount point = /mnt/backup1
> mount command = '/sbin/mount %m'
> Unmount Command = "/bin/umount %m"
> }
>
> Is this correct?
> I require bacula to mount/unmount as required so that no intervention is
> required for (de/att)atching drives.
In theory, yes... I never tried it, though.
I'd use a run before job script to do the mounting, and a run after
job script for unmounting. If mounting fails, the job will -
preferrably - not be run.
In any case, you'll probably want to use automatic labeling together
with a limitation of the volume size and number in your pools.
Arno
> Thanks in advance.
>
--
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users