Bacula-users

Re: [Bacula-users] Bscan problem

2011-08-10 13:14:38
Subject: Re: [Bacula-users] Bscan problem
From: Juan Pablo Lorier <jplorier AT montecarlotv.com DOT uy>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 10 Aug 2011 14:12:04 -0300
Dear Michael,

You're right, after several runs I forgot to place the flag and then just copied the command and never saw it missing. That's why it's no longer creating the record, Anyway, the error continues.
The right output is:

bscan -m -s -v -c /etc/bacula/bacula-sd.conf -V Peliculas0001 /dev/nst0
bscan: butil.c:281 Using device: "/dev/nst0" for reading.
10-ago 10:27 bscan JobId 0: Ready to read from volume "Peliculas0001" on device "LTO-5" (/dev/nst0).
bscan: bscan.c:308 Using Database: bacula, User: bacula
bscan: bscan.c:450 Pool record for Peliculas found in DB.
bscan: bscan.c:464 Pool type "Backup" is OK.
bscan: bscan.c:474 Media record for Peliculas0001 found in DB.
bscan: bscan.c:492 Media type "LTO-5" is OK.
bscan: bscan.c:502 VOL_LABEL: OK for Volume: Peliculas0001
bscan: bscan.c:1016 Created Client record for Client: san.montecarlotv.com.uy-fd
bscan: bscan.c:1099 Created new JobId=184 record for original JobId=59
10-ago 11:30 bscan JobId 0: End of Volume at file 39 on device "LTO-5" (/dev/nst0), Volume "Peliculas0001"
bscan: bscan.c:337-0 ========== JobId=0 ========
bscan: bscan.c:337-0 ========== JobId=184 ========
bscan: bscan.c:342 Create JobMedia for Job PeliculasJOB.2011-06-17_11.59.05_26
bscan: bscan.c:1246 Created JobMedia record JobId 184, MediaId 22
bscan: bscan.c:966 Updated Media record at end of Volume: Peliculas0001
10-ago 11:30 bscan JobId 0: End of all volumes.
bscan: bscan.c:966 Updated Media record at end of Volume: Peliculas0001
bscan: bscan.c:637 End of all Volumes. VolFiles=39 VolBlocks=0 VolBytes=385,741,503,109
Records added or updated in the catalog:
      1 Media
      1 Pool
      1 Job
     22 File

As you can see, bscan reports no error, but the record in the database is not right.
I found that the FileSetId does not match the original Id, instead figures as 0 and that seems to be the only "error" I manually changed it.
I marked the job manually as correct in the database and trying to recover a file to see if this works, I don't know if that's safe, but at least to keep it in the base until we figure out where I'm messing up.
Regards
--




-- Toda la información contenida en este correo electrónico es confidencial y para conocimiento exclusivo de su destinatario. Agradeceremos que Ud. nos comunique inmediatamente si ha recibido este correo por error. En tal caso, evite hacer uso del mismo en forma alguna y elimínelo inmediatamente de su sistema.
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
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>