Bacula-users

[Bacula-users] Problema with Bscan in Bacula Bersion 3

2009-11-18 09:07:39
Subject: [Bacula-users] Problema with Bscan in Bacula Bersion 3
From: bacula AT bertholino.com DOT br
To: Bacula-users AT lists.sourceforge DOT net
Date: Wed, 18 Nov 2009 11:28:09 -0200
Dear friends,

I try import volume to catalog and show me a error in query, see below:

backup:/mnt/bacula/bacula/pc91# /etc/bacula3/bin/bscan -s -m -n bacula -u
bacula -P cine798 -c bacula-sd.conf -v -V Vol-pc91-full-dados0035 pc91-dev
bscan: butil.c:282 Using device: "pc91-dev" for reading.
18-Nov 10:03 bscan JobId 0: Ready to read from volume
"Vol-pc91-full-dados0035" on device "pc91-dev" (/mnt/bacula/bacula/pc91).
bscan: bscan.c:309 Using Database: bacula, User: bacula
bscan: bscan.c:451 Pool record for pc91-full-dados found in DB.
bscan: bscan.c:465 Pool type "Backup" is OK.
bscan: bscan.c:475 Media record for Vol-pc91-full-dados0035 found in DB.
bscan: bscan.c:493 Media type "pc91-dev" is OK.
bscan: bscan.c:503 VOL_LABEL: OK for Volume: Vol-pc91-full-dados0035
bscan: bscan.c:521 SOS_LABEL: Found Job record for JobId: 33
bscan: bscan.c:1037 Fileset "pc91-dados" already exists.
bscan: bscan.c:1152 Could not update JobId=1429 record.

ERR=sql_update.c:196 Update failed: affected_rows=0 for UPDATE Job SET
JobStatus='f',EndTime='2009-11-05
16:38:20',ClientId=2,JobBytes=24454341747,ReadBytes=0,JobFiles=19267,JobErrors=0,VolSessionId=107,VolSessionTime=1255442472,PoolId=10,FileSetId=8,JobTDate=1257446300,RealEndTime='2009-11-05
16:38:20',PriorJobId=0 WHERE JobId=1429

bscan: bscan.c:1250 Created JobMedia record JobId 1429, MediaId 31
18-Nov 10:08 bscan JobId 0: End of Volume at file 5 on device "pc91-dev"
(/mnt/bacula/bacula/pc91), Volume "Vol-pc91-full-dados0035"
bscan: bscan.c:338-1429 ========== JobId=0 ========
bscan: bscan.c:970 Updated Media record at end of Volume:
Vol-pc91-full-dados0035
18-Nov 10:08 bscan JobId 0: End of all volumes.
bscan: bscan.c:970 Updated Media record at end of Volume:
Vol-pc91-full-dados0035
bscan: bscan.c:638 End of all Volumes. VolFiles=5 VolBlocks=0
VolBytes=24,459,634,488
Records added or updated in the catalog:
      1 Media
      1 Pool
      1 Job
  19267 File


The problem is that volume is not imported, any idea ?

Thanks

Mauricio



--


**************************
Mauricio Bertholino
mauricio AT bertholino.com DOT br
Fone: 11-7616-0777
**************************

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Problema with Bscan in Bacula Bersion 3, bacula <=