I have just found that the volume retention was set to 2 days instead of
2 weeks, and I want to restore from a volume that was backed up 4 days
ago.

Obviously the catalog isn't there, but if I understand correctly I
should be able to use 'bscan' to re-read the volume and re-populate the
catalog.

I issued the command 'bscan -m -s -S /vol/backup/bacula/XXXXX0003', and
it went through (took ages) and finally said:

"
bscan: bscan.c:349 First Volume Size = 27935562251n12-Jul 19:43 bscan:
End of al
l volumes.
bscan: bscan.c:626 End of all Volumes. VolFiles=6 VolBlocks=0
VolBytes=27,919,97
7,429
Records added or updated in the catalog:
      1 Media
      1 Pool
      2 Job
 558666 File
"

But the records do not appear to be there to restore from. I increased
the volume retention period to 6 months and ran bscan again, but still
no records...

I have since used bextract to get the data I wanted, and apart from
saying "Error: Unknown stream=15 ignored" several hundred thousand
times, it did successfully restore the data, and quite quickly. I would
like to make the process work the way it is supposed to though.

Any suggestions? Am I doing something wrong? Would it help to delete the
volume completely from the catalog and then import it?

Thanks

James

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to