Bacula-users

[Bacula-users] Restoring old file -> Filling DB with File Records using bscan

2011-02-02 10:16:35
Subject: [Bacula-users] Restoring old file -> Filling DB with File Records using bscan
From: "Richard Marnau" <marnau AT catering-kiel DOT de>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 2 Feb 2011 16:13:49 +0100
Hi all,

i'm stucked with a small but nasty problem. We need to restore a file which 
location is known, but the exact filename is not clear.
So I need to browse old backups, but the file table has been pruned (for an 
unknown reason).

My steps:

1. Trying to Recover
==========
Date: 2010-12-00 00:00:00
--
Automatically selected FileSet: FullWindows
+-------+-------+----------+----------------+---------------------+------------+
| JobId | Level | JobFiles | JobBytes       | StartTime           | VolumeName |
+-------+-------+----------+----------------+---------------------+------------+
| 1,047 | F     |  225,597 | 58,975,948,699 | 2010-11-08 00:48:00 | Vol0039    |
| 1,047 | F     |  225,597 | 58,975,948,699 | 2010-11-08 00:48:00 | Vol0045    |
| 1,188 | D     |    7,543 |  2,476,679,304 | 2010-11-21 23:59:43 | Vol0094    |
| 1,197 | I     |    1,456 |  1,237,777,449 | 2010-11-22 23:36:09 | Vol0094    |
+-------+-------+----------+----------------+---------------------+------------+

You have selected the following JobIds: 1047,1188,1197
Building directory tree for JobId(s) 1047,1188,1197 ...

For one or more of the JobIds selected, no files were found,
so file selection is not possible.
Most likely your retention policy pruned the files.
--

2. ========= Bscan the related archives ===========

bscan -p -s -v -P xxxx -h localhost Backupserver -V Vol0039\|Vol0045\|Vol0094

Records would have been added or updated in the catalog:
      3 Media
      3 Pool
     54 Job
 352620 File
root@mond:~# bconsole
Connecting to Director localhost:9101

=========== But still I cannot browse the files on the volume...

"For one or more of the JobIds selected, no files were found,
so file selection is not possible. Most likely your retention policy pruned the 
files."


============== Could it be related to the following output?

bscan: bscan.c:637 End of all Volumes. VolFiles=10 VolBlocks=0 
VolBytes=44,246,214,007
02-Feb 15:27 bscan JobId 0: Error: 47 block read errors not printed.


=========   -> We do save all volumes to a different file server over the 
network.

Thanks a million for your help,

Richard



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users