Bacula-users

Re: [Bacula-users] Automated restore job?

2010-06-24 05:20:52
Subject: Re: [Bacula-users] Automated restore job?
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 24 Jun 2010 10:17:33 +0100
>>>>> On Wed, 23 Jun 2010 12:59:23 -0500, Peter Eisch said:
> 
>  - Piping the commands makes sense except it gets complicated.  The example
> you had would restore client to the same FD but I need it to be restored to
> a different FD.
> 
> It may be that I have to do a large piped command though.  The restore
> command only accepts "client=xxxx" which it then presumes to be the "Backup
> Client" as well as "Restore Client".  A "client=foofoo-fd" results in:
> 
> JobName:         RestoreFiles
> Bootstrap:       /var/bacula/working/mama-dir.restore.184.bsr
> Where:           /u/bacula/restores
> Replace:         always
> FileSet:         JustRoot Set
> Backup Client:   foofoo-fd
> Restore Client:  foofoo-fd
> Storage:         foofooFiles
> When:            2010-06-23 12:35:34
> Catalog:         MamaCatalog
> Priority:        10
> Plugin Options:  *None*
> 
> 
> I need to somehow specify the Restore Client to be barbar-fd before the job
> gets started.

The restore command also has a restoreclient argument (in 5.0.1 at least).

__Martin

------------------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>