On Thu, Apr 22, 2010 at 11:04:15AM +0100, Martin Simmons wrote: > >>>>> On Thu, 22 Apr 2010 11:07:43 +0200, Matija Nalis said: > > That is indeed the case - Job 10553 (the Full backup from tape > > 783AHNL2) indeed has PurgedFiles=1 (all other Differental/Incremental > > jobs have 0). > > > > I can of course update it manually in mysql, but is that the correct > > way to go? > > Yes, in this case I think that it is best option. You could check that all > files have been added to the File table. I.e. these two should be equal: > > select count(*) from file where jobid=10553; > select jobfiles from job where jobid=10553;
Yes, they are the same. So I did: UPDATE Job SET PurgedFiles=0 WHERE JobId = 10553; and the restore seems to be working now (or at least allowing me to mark the files; I hope they weill also restore normally) > > And why did that happen, shouldn't bscan have updated > > Job.PurgedFiles column too (one would guess if you restore catalog > > information using bscan, you actually want it to be useable) ? > > Yes, it looks like a bug in bscan. You could report it at > http://bugs.bacula.org/. Done, reported at http://bugs.bacula.org/view.php?id=1558 Thanks again, Matija ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users