Bacula-users

Re: [Bacula-users] Adhoc Job and waiting it out ;)

2013-01-18 17:59:23
Subject: Re: [Bacula-users] Adhoc Job and waiting it out ;)
From: Adrian Reyer <bacula-lists AT lihas DOT de>
To: Florian Heigl <florian.heigl AT gmail DOT com>
Date: Fri, 18 Jan 2013 23:56:34 +0100
On Fri, Jan 18, 2013 at 04:00:47PM +0200, Florian Heigl wrote:
> ssh client-to-backup -n bconsole "run a backup for this box and keep
> sitting until the backup is completed"

Something like this should do the trick:
echo "run job=XY yes
wait job=XY" | ssh client-to-backup bconsole

> How do you automate your off-schedule backups?

I admit I have never tested this, just remembered I've seen the 'wait'
statement

MfG,
    Adrian Reyer
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas AT lihas DOT de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>