Hi Kern, thank you for answering. 24/04/2014 22:51, Kern Sibbald wrote : > On 04/23/2014 11:00 AM, le dahut wrote: >> Sorry to insist but am I the only one who've noticed that ? >> >> How can I solve this problem ? > > I am not sure those commands are used internally by Bacula anymore. They > were originally written to support writing to CD drives, which is no > longer implemented.
"Mount command" and "Unmount command" are still documented here : http://www.bacula.org/5.2.x-manuals/en/main/main/Storage_Daemon_Configuratio.html > And so, I imagine that no one else uses them. Thousands of servers will use it in a few months. But maybe you have an idea on how to acheive this otherwise : * DIR, SD and FD are on 3 different machines * SD uses a Samba share * Samba share must be mounted before backup and umounted after ? > Are you sure that you python script is actually returning a "system" or > standard shell script error status? Very very sure ;-) > If not, it is clear that Bacula > won't know there is an error. If you can absolutely show that your > script returns a correct error status, or provide some script that does > and the job is not failed, then it is probably worth submitting to the > bugs database. Done. http://bugs.bacula.org/view.php?id=2053 > > Best regards, > Kern >> >> >> 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@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> > > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users