Bacula-users

Re: [Bacula-users] Batch restore

2012-04-10 17:48:46
Subject: Re: [Bacula-users] Batch restore
From: Benjamin Blakely <blakely AT krellinst DOT org>
To: Joseph Spenner <joseph85750 AT yahoo DOT com>
Date: Tue, 10 Apr 2012 16:38:49 -0500
Yes.

===
Benjamin Blakely, PhD, CISSP
Information Systems Security Engineer
Krell Institute
blakely AT krellinst DOT org
515-598-2720




On Tue, Apr 10, 2012 at 16:37, Joseph Spenner <joseph85750 AT yahoo DOT com> wrote:


From: Benjamin Blakely <blakely AT krellinst DOT org>
To: bacula-users AT lists.sourceforge DOT net
Sent: Tuesday, April 10, 2012 1:56 PM
Subject: [Bacula-users] Batch restore

Hello,

I am trying to do batch restores with commands such as the following:

restore restoreclient=lancelot-sd-fd client=harbor-fd select jobid=15807 all done yes where=/mnt/2010-10-01/harbor-fd

Where lancelot-sd is the machine with the tape drive and harbor is the client being restored.  /mnt on lancelot-sd is an external drive to be used for the restores.  I've generated over 200 such entries spanning 12 tapes that I need to do bulk restores on.  However, here's the problem:  When I run the above command, Bacula returns the output below.  As you can see, in addition to the jobid I specified, it has also picked a second job, which I believe is the most recent backup of that client. How can I modify my restore command to select /only/ the specified jobid?

Thanks for your assistance.
-Ben


Using Catalog "MyCatalog"
Automatically selected FileSet: harbor-fs
+--------+-------+----------+-----------------+---------------------+------------------+
| JobId  | Level | JobFiles | JobBytes        | StartTime           | VolumeName       |
+--------+-------+----------+-----------------+---------------------+------------------+
| 24,590 | F     |  145,699 | 177,548,197,808 | 2011-11-23 17:01:42 | db-LTO4-20111123 |
+--------+-------+----------+-----------------+---------------------+------------------+
You have selected the following JobIds: 24590,15807

Building directory tree for JobId(s) 24590,15807 ...  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

=======

If you do the command manually, running 'bconsole', does it still want to use 2 JobIds?




------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
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>