Ok thanks a lot !!! With only this parameter "Max Run Time = 1h", my job is cancelled after 1 hour
Aaron Knister a écrit : > Uncomment the following line- > > #Max Run Time = 1h > > I believe this defines the maximum amount of time the job will run. > However if the job is running and goes for longer than 2 hours it will > be killed. You may want to edit your "RunBeforeJob" script to check > for the tape "mt -f /dev/nst0 status" and if it's not there return a > non-zero exit code and the job won't run. > > > > Eric Piollet wrote: >> I use Bacula 2.0.2, my backup plan is ok, pool & volume well >> configured (Turn Monday -> Friday). >> But i can't resolv one problem : >> If one day , the job can't start because we 've forgotten to put >> the DAT, the job wait and wait until we put the DAT. >> I would to have an automatically cancel job after 1 or 2 hours . >> If you have an answser ... (thank you for advance) >> >> >> a part of my bacula-dir.conf : >> >> Name = "MyBackup" >> Type = Backup >> Client = messagerie-fd >> FileSet = "Full Set" >> Schedule = "WeeklyCycle" >> Storage = DAT72-052 >> Messages = Standard >> Pool = Default >> RunBeforeJob = "/opt/lampp/libexec/bacula/bin/mount.sh" >> Write Bootstrap = "/opt/lampp/libexec/bacula/bin/working/MyBackup.bsr" >> Max Start Delay = 2h >> #Max Run Time = 1h >> Max Wait Time = 1h >> >> >> >> >> >> ------------------------------------------------------------------------- >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> >> > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users