________________________________
From: Benjamin Blakely <blak...@krellinst.org>
To: bacula-users@lists.sourceforge.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users