Hello,
I am trying to restore some files from pruned volumes and I am having a bit of difficulties. I did run bscan like:
bscan -b h34.bsr -h localhost -P <password> -v -s -m -c bacula-sd.conf H23-DataStore-full
Bscan finished normally and I went into bconsole, there I started the restore and it showed this:
Automatically selected FileSet: H34-FileServ
+-------+-------+----------+-----------------+---------------------+----------------+
| JobId | Level | JobFiles | JobBytes | StartTime | VolumeName |
+-------+-------+----------+-----------------+---------------------+----------------+
| 1,059 | F | 932,326 | 339,547,819,982 | 2012-08-05 08:23:14 | H34-Full-0001 |
| 1,059 | F | 932,326 | 339,547,819,982 | 2012-08-05 08:23:14 | H34-Full-0004 |
| 1,476 | D | 56,072 | 22,764,954,757 | 2012-12-19 23:29:47 | H34-Diff-0048 |
| 1,480 | I | 13,755 | 5,235,302,531 | 2012-12-25 07:10:53 | H34-Incre-0039 |
| 1,483 | I | 13,860 | 5,648,317,371 | 2012-12-30 14:31:32 | H34-Incre-0042 |
+-------+-------+----------+-----------------+---------------------+----------------+
But then it complained that no files were found. When I do “list volume” I see that all the above volumes list: 0 VolFiles
+---------+---------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+---------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | H34-Full-0001 | Full | 1 | 246,822,772,455 | 0 | 2,592,000 | 1 | 0 | 0 | File | 2012-08-08 13:33:32 |
| 4 | H34-Full-0004 | Used | 1 | 92,807,279,173 | 0 | 2,592,000 | 1 | 0 | 0 | File | 2012-08-08 14:36:19 |
+---------+---------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: FileServPool-Diff-tape
+---------+---------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+---------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 10 | H34-Diff-0010 | Used | 1 | 5,584,694,166 | 1 | 2,592,000 | 1 | 0 | 0 | File | 2012-09-24 15:59:58 |
| 29 | H34-Diff-0029 | Error | 1 | 1 | 0 | 2,592,000 | 1 | 0 | 0 | File | 2011-12-17 20:49:03 |
| 48 | H34-Diff-0048 | Used | 1 | 6,070,658,143 | 0 | 2,592,000 | 1 | 0 | 0 | File | 2012-06-20 09:46:16 |
Any suggestions??
Thanks