From: Hemant S. <hj...@ya...> - 2008-05-30 18:22:40
|
--- On Fri, 5/30/08, Dan Langille <da...@la...> wrote: > From: Dan Langille <da...@la...> > Subject: Re: [Bacula-users] Running script job only > To: "Alan Brown" <aj...@ms...> > Cc: "baculausers" <bac...@li...> > Date: Friday, May 30, 2008, 1:05 PM > Alan Brown wrote: > > On Fri, 30 May 2008, Dan Langille wrote: > > > >>> I have several jobs running under one > schedule (at different priorities). > >>> I want to run script before first job in > schedule and after last job in schedule. As a test, I tried > to setup a dummy job with high priority so that it will run > first. I only want to have RunScript option in it, but > bacula director complains that is need pool, fileset, etc. > options. > >>> > >>> How can I create a job that only runs script > (no backups)? > >> You could have a RunBefore Job that returns a > error condition so the > >> backup is never actually done. > >> > >> Or create a backup job that backs up just one > small empty file. > > > > Or run it as an admin job. That's what they're > there for. > > Won't admin jobs trigger pruning? I guess that's > not necessarily a bad > thing either. > > To the OP: change the Job Type on the job to Admin. See > the Job > Resource notes in the documenation. I started out trying to create admin job but was not successful. The manual has little information in admin jobs. > > -- > Dan Langille > > BSDCan - The Technical BSD Conference : > http://www.bsdcan.org/ > PGCon - The PostgreSQL Conference: > http://www.pgcon.org/ > > ------------------------------------------------------------------------- > 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 > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users Hemant Shah E-mail: hj...@ya... |