Bacula-users

Re: [Bacula-users] Automated restore job?

2010-06-23 16:04:32
Subject: Re: [Bacula-users] Automated restore job?
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 23 Jun 2010 16:02:29 -0400
On 06/23/10 13:59, Peter Eisch wrote:
> Then to execute the restore I could: run job=foofooRestore yes
> 
> I may end up having to do something like:
>  barbar# ssh foofoo "tar -C / -cf - path1 path2" | (cd / tar xf -)
> 
> Any other ideas?
> 
> Thanks for the thoughts so far!

It sounds like your best bet is to write a Perl or expect script that
performs the necessary bconsole interaction to run your restore job as
you need it run, then execute that script from an admin job.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users