>>>>> On Thu, 12 Jul 2007 21:48:12 +1000, James Harper said: > > 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...
Is that no records according to restore or nothing found using raw select commands? What kind of catalog database are you using? Do you have more than one catalog? > 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. FWIW, the Unknown stream=15 error means that it will not have restored the ACLs. __Martin ------------------------------------------------------------------------- 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