On Friday 06 February 2009 10:17:13 Graham Keeling wrote:
> On Fri, Feb 06, 2009 at 08:23:47AM +0100, Kern Sibbald wrote:
> > On Friday 06 February 2009 00:48:26 James Harper wrote:
> > > > On Thu, Feb 05, 2009 at 02:31:33PM +0100, Kern Sibbald wrote:
> > > > > > When I use 'bls' to look at a volume's contents, the output
> > >
> > > includes
> > >
> > > > some
> > > >
> > > > > > binary.
> > > > >
> > > > > Well, there should be binary data there, so this seems perfectly
> > >
> > > normal.
> > >
> > > > To me, it doesn't seem normal that 'bls' should output raw binary
> > >
> > > data. It
> > >
> > > > messes up my terminal! :)
> > > > Here is a sample of what it looks like:
> > > >
> > > > tserv volumes # bls -c /etc/bacula/bacula-sd-9103.conf 'Disk 1.1'
> > > > bls: butil.c:282 Using device: "Disk 1.1" for reading.
> > > > 04-Feb 14:55 bls JobId 0: Ready to read from volume "backup-0007" on
> > > > device "Dis
> > > > k 1.1" (/write/mnt/Disk 1/var/lib/bacula/volumes).
> > > > bls: bls.c:410 Plugin name: 1 1 1 exchange:/@EXCHANGE/Microsoft
> > > > Information Stor
> > > > e
> > > > bls JobId 0: -rwx------   0 root     root            -1 2009-02-04
> > > > 14:49:40  /@E
> > > > XCHANGE/Microsoft Information Store/First Storage Group/C:\Program
> > > > Files\Exchsrv
> > > > r\mdbdata\E0000005.log
> > > > bls: bls.c:410 Plugin name: 0
> > > > 0<FF><A4>5<A7>7<AA>:^U<F1>e,lb^T^L><C1>'<B0><D3>
> > > > <AD>^K<B7><A2><F4><CB><C7><92>[!x<84>5<B3>^F^E+^N^C^B^Z^F
> > > > *<86>H<86><F7>^M
> > > > ^A^A^E^D<81><80><BC>3o<BC>U!<80>$^]<B5><DF><D6><FF>t
> > > > J<C9><C7><87><F0>^N<86>A
> > >
> > > <E7><EC>5<9D>&l<DF><FD>+Q^]^G.^L~<B0>G7<E2>*^Z^F<D1><D2><8F><FE><96><C7
> > >> r<
> > >
> > > > CF>x
> > > > <8F><C3>^G<F2>I^]%<C6>^P^Vqy<D7>
> > > > bls: bls.c:410 Plugin name: 2 1 1 exchange:/@EXCHANGE/Microsoft
> > > > Information Store
> > >
> > > Kern,
> > >
> > > Can you confirm that the above is definitely normal? You indicated that
> > > it was but that was before Graham showed exactly what he meant...
> >
> > After seeing the options Graham used (lack thereof), I think we
> > definitely need some new code to clean up the output.
> >
> > I suspect that it is either dumping a start plugin record and should not
> > be, or picking up something in the record that it should not be looking
> > at. I will look at tweaking it to be more "normal".
>
> Sorry, I think the command listed above is misleading. Somehow the last
> couple of arguments got stripped off. What I actually typed was:
>
> bls -c /etc/bacula/bacula-sd-9103.conf 'Disk 1.1' -V backup-0007

Thanks for the clarification, but still you have not asked for any detailed 
record dump, so it should only dump summary info in ASCII.

Do you have a small test Volume that you could send me?  You can email me 
anything up to several GB.   That way, I can test it here with the exact data 
that you have.

After looking at the output, I suspect that the plugin name record is probably 
binary, so I'll need to teach bls (and possibly some of the other tools) how 
to properly display it.  Generally, it is simply adding an appropriate case 
in a switch().

Kern

Regards,

Kern


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to