Bacula-users

[Bacula-users] Batch restore

2012-04-10 17:28:01
Subject: [Bacula-users] Batch restore
From: Benjamin Blakely <blakely AT krellinst DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 10 Apr 2012 15:56:23 -0500
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 ...  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
295,800 files inserted into the tree and marked for extraction.
Bootstrap records written to /usr/db/bacula//lancelot-dir.restore.6.bsr

The job will require the following
   Volume(s)                 Storage(s)                SD Device(s)
===========================================================================

    db-LTO4-20111123          LTO-4                     LTO-4
    db-20101001               lancelot-sd               LTO-4

Volumes marked with "*" are online.


316,680 files selected to be restored.

Job queued. JobId=27798
You have messages.


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

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