>>>>> On Tue, 2 Mar 2010 17:25:36 +0300, Vladimir Vassiliev said: > > I used bscan after accidentially purging catalog. > But it seems information about files didn't restore. Is this right? > Here tail of very long bscan's output. > Can someone comment it? Does it look good? > > Thanks. > > 02-Mar 16:48 bscan JobId 0: Ready to read from volume "www-20081230-2305" on > device "FileStorage-www-2" (/backup/2/www). > bscan: bscan.c:451 Pool record for www-2 found in DB. > bscan: bscan.c:465 Pool type "Backup" is OK. > bscan: bscan.c:475 Media record for www-20081230-2305 found in DB. > bscan: bscan.c:493 Media type "File-www-2" is OK. > bscan: bscan.c:503 VOL_LABEL: OK for Volume: www-20081230-2305 > bscan: bscan.c:521 SOS_LABEL: Found Job record for JobId: 5360 > bscan: bscan.c:1037 Fileset "www" already exists. > bscan: bscan.c:1152 Could not update JobId=5311 record. ERR=sql_update.c:196 > Update failed: affected_rows=0 for UPDATE Job SET > JobStatus='T',EndTime='2010-02-27 > 23:06:20',ClientId=1,JobBytes=310015832,ReadBytes=0,JobFiles=988,JobErrors=0,VolSessionId=275,VolSessionTime=1264670552,PoolId=11,FileSetId=8,JobTDate=1267301180,RealEndTime='2010-02-27 > 23:06:20',PriorJobId=0 WHERE JobId=5311 >
These errors look wrong to me. Does jobid 5311 exist in the catalog? Can you try running UPDATE Job SET JobStatus='T',EndTime='2010-02-27 23:06:20',ClientId=1,JobBytes=310015832,ReadBytes=0,JobFiles=988,JobErrors=0,VolSessionId=275,VolSessionTime=1264670552,PoolId=11,FileSetId=8,JobTDate=1267301180,RealEndTime='2010-02-27 23:06:20',PriorJobId=0 WHERE JobId=5311; using the bconsole sql command to see if that reports an error? __Martin ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users