Bacula-users

Re: [Bacula-users] mount command error does not cancel backup

2014-04-23 05:04:16
Subject: Re: [Bacula-users] mount command error does not cancel backup
From: le dahut <le.dahut AT laposte DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 23 Apr 2014 11:00:38 +0200
Sorry to insist but am I the only one who've noticed that ?

How can I solve this problem ?


14/04/2014 11:44, le dahut wrote :
> Hello,
>
> Bacula 5.2.5-0ubuntu6.2 (on 12.04 LTS)
>
> In bacula-sd.conf I have :
>     Name = FileStorage
>     LabelMedia = yes
>     Automatic Mount = yes
>     Archive Device = /mnt/backup
>     Media Type = File
>     Device type = File
>     Mount Point = /mnt/backup
>     Mount Command = "sudo /sbin/baculamount.py --mount"
>     Unmount Command = "sudo /sbin/baculamount.py --umount"
>     Maximum Open Wait = 60
>     Requires Mount = yes
>     Random Access = yes
>     Removable Media = yes
>     Always Open = no
>
> But even if "sudo /sbin/baculamount.py --mount" makes an error and exits
> with code 1, backup is not cancelled/marked as error but still happens.
>
>
> Why ?
> Is there a way to make backup NOT happen if "mount command" has failed ?
>
>
> Thanks,
> Klaas

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users