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

2014-04-28 Thread le dahut
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

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

2014-04-24 Thread Kern Sibbald
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.

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

2014-04-23 Thread le dahut
23/04/2014 16:44, Téïcée Bacula wrote : > > > Le 23/04/2014 16:05, le dahut a écrit : >> 23/04/2014 15:07, Téïcée Bacula wrote : >>> Hello Klaas >>> > Sorry to insist but am I the only one who've noticed that ? >>> >>> Notice what? The mount command used in a device don't fail the job? Well >>>

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

2014-04-23 Thread Téïcée Bacula
Le 23/04/2014 16:05, le dahut a écrit : > 23/04/2014 15:07, Téïcée Bacula wrote : >> Hello Klaas >> Sorry to insist but am I the only one who've noticed that ? >> >> Notice what? The mount command used in a device don't fail the job? Well >> I never needed it. >> Having the detail of your mo

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

2014-04-23 Thread Dimitri Maziuk
On 4/23/2014 9:24 AM, John Drescher wrote: >> - you might also consider to use Messages resource and then "capture" >> the mount message and do the appropriate commands / actions accordingly >> > Good point. With this you could accomplish the task inside of bacula > and without having to use ssh.

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

2014-04-23 Thread John Drescher
> There could be several ways to manage this and IMHO the following should > be valid: > - based on John's answer, you might run a "script before" on the FD > hosted by your SD which will fail the job accordingly. The matter here > is not to actually mount the drive rather than testing the fact th

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

2014-04-23 Thread le dahut
23/04/2014 15:07, Téïcée Bacula wrote : > Hello Klaas > >>> Sorry to insist but am I the only one who've noticed that ? > > Notice what? The mount command used in a device don't fail the job? Well > I never needed it. > Having the detail of your mount operation would probably help a bit or > at lea

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

2014-04-23 Thread John Drescher
> Ubuntu 12.04 LTS' Bacula version is Bacula 5.2.5. Maybe this is fixed in > higher versions ? (in which case we will recompile a newer Bacula) I am not sure if this is a bug or by design. John -- Start Your Social Netwo

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

2014-04-23 Thread le dahut
23/04/2014 13:23, John Drescher wrote : >> Sorry to insist but am I the only one who've noticed that ? >> >> How can I solve this problem ? >> > > I would try creating a run before job that uses ssh to connect to the > remote machine with the SD and in this run before job check if the > mount succe

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

2014-04-23 Thread Téïcée Bacula
Hello Klaas >> Sorry to insist but am I the only one who've noticed that ? Notice what? The mount command used in a device don't fail the job? Well I never needed it. Having the detail of your mount operation would probably help a bit or at least knowing in which context you are trying to do thi

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

2014-04-23 Thread John Drescher
> Sorry to insist but am I the only one who've noticed that ? > > How can I solve this problem ? > I would try creating a run before job that uses ssh to connect to the remote machine with the SD and in this run before job check if the mount succeeds. John ---

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

2014-04-23 Thread le dahut
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 > Archi

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

2014-04-15 Thread le dahut
Ok, so this is not an issue for me since SD does not run on the same machine than DIR and FD. Thank you anyway. Le 14/04/2014 21:49, Ana Emília M. Arruda a écrit : > Sorry Klass, > > I forgot to tell you that the "Run Script" directive you should put in > the job resource definition. > > Regar

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

2014-04-15 Thread le dahut
Hi, SD (Storage Daemon) is running on a different machine than FD and DIR. Can RunScript be used inside a Storage configuration ? Le 14/04/2014 18:30, Ana Emília M. Arruda a écrit : > Hi Klaas, > > I don´t know if there is a better solution, but I think you can call the > mount script inside a

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

2014-04-14 Thread Ana Emília M . Arruda
Sorry Klass, I forgot to tell you that the "Run Script" directive you should put in the job resource definition. Regards, Ana On Mon, Apr 14, 2014 at 1:30 PM, Ana Emília M. Arruda < emiliaarr...@gmail.com> wrote: > Hi Klaas, > > I don´t know if there is a better solution, but I think you can c

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

2014-04-14 Thread Ana Emília M . Arruda
Hi Klaas, I don´t know if there is a better solution, but I think you can call the mount script inside a "run script" like: RunScript { RunsWhen = Before FailJobOnError = Yes Command = "sudo /sbin/baculamount.py --mount"} (from http://wiki.bacula.org/doku.php?id=bacula_manual:the_job

Re: [Bacula-users] [+] mount command syntax

2007-03-23 Thread Jeronimo Zucco
Rui Goncalves escreveu: > Hi all, > > I'm new in Bacula. ( vers. 1.38.2) > > I'm testing a restore and I get this msg: > > For this problem wich is the correct syntax for mount command. > > 23-Mar 17:41 lis-backup-sd: Please mount Volume "UG2034L1" on Storage > Device "Drive-1" (/dev/nst0

Re: [Bacula-users] [+] mount command syntax

2007-03-23 Thread Jeronimo Zucco
Rui Goncalves escreveu: > Hi all, > > I'm new in Bacula. ( vers. 1.38.2) > > I'm testing a restore and I get this msg: > > For this problem wich is the correct syntax for mount command. > > 23-Mar 17:41 lis-backup-sd: Please mount Volume "UG2034L1" on Storage > Device "Drive-1" (/dev/nst0

RE: [Bacula-users] mount command

2005-08-16 Thread Maurizio Santini
I have used the following device resource in bacula-sd.conf VolumePollInterval = 60 OfflineOnUnmount = yes CloseOnPoll = yes and now bacula detects the volume on his own without me needing to run the mount command from bconsole. Thank you for your help, Maurizio On Mon, 2005-08-15 at 18:14, Chr

RE: [Bacula-users] mount command

2005-08-15 Thread Chris Lee
Use "mount storage=DDS-4". Thanks, Chris > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Maurizio Santini > Sent: Monday, 15 August, 2005 11:36 > To: bacula-users@lists.sourceforge.net > Subject: [Bacula-users] mount command > > Hello, > > I