[prev in list] [next in list] [prev in thread] [next in thread]
List: bacula-users
Subject: Re: [Bacula-users] lots of copy jobs fail suddenly (5.2.12)
From: Uwe Schuerkamp <uwe.schuerkamp () nionex ! net>
Date: 2012-12-27 10:00:11
Message-ID: 20121227100011.GE26049 () nionex ! net
[Download RAW message or body]
On Mon, Dec 24, 2012 at 06:45:51PM +0100, Tilman Schmidt wrote:
> Am 24.12.2012 10:51, schrieb Uwe Schuerkamp:
> > As for my previous question on how to run a job using bconsole,
> > passing pool, storage and other params it works like this:
> > (echo run catalog=MyCatalog job=copy-single
> > storage=FileStorage_denioXXXX_full pool=Online_denioXXXX_full; echo
> > yes) | bconsole
> >
> > I guess the "yes" can be scripted in a nicer way [...]
>
> The "run" command accepts "yes" as an argument to indicate it
> should not prompt for confirmation, so you can it do slightly
> more elegantly like this:
>
> echo run catalog=MyCatalog job=copy-single \
> storage=FileStorage_denioXXXX_full pool=Online_denioXXXX_full yes | \
> bconsole
>
thanks Tilman, a nice improvement to an otherwise really ugly script
;-)
I hope you had some nice holidays, too.
All the best Uwe
--
NIONEX --- Ein Unternehmen der Bertelsmann SE & Co. KGaA
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic