Bacula-users

[Bacula-users] FW: missing a file during verification

2012-02-06 20:52:16
Subject: [Bacula-users] FW: missing a file during verification
From: "Doug Sampson" <dougs AT dawnsign DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 6 Feb 2012 17:48:51 -0800
> > > How do I output the results of the bconsole 'list' command to a
file?
> > > I've outputted from the 'bls' command quite easily.
> > >
>
> Use
>
> @output filename
> list files jobid=8295
> @output
>

Okay, I've learned a thing here! Thanks for the tip.

I've outputted a list of files from this and compared with the bls
output.
Even though the bconsole 'list' files reports 989 lines, there are
actually only 988 lines as far as I can determine. The output between
the
bls output and the list output is identical in every respect except for
the lines of output reported by each. 988 versus 989.

Is this a VSS error?

>
> > I forgot to report that the bls output indicated 988 files. So the
extra
> > file should be in the output from the bconsole 'list' command.
Correct?
>
> No, I was expecting bls to show 989 files.  The bconsole 'list'
command
> should
> match the SQL commands because it uses the same data.
>
> It might be something caused by VSS.  What is the output of
>
> SELECT ObjectName, ObjectType, FileIndex
>        FROM RestoreObject
>        WHERE JobId=8295;

bacula=# SELECT ObjectName, ObjectType, FileIndex
bacula-#        FROM RestoreObject
bacula-#        WHERE JobId=8295;
    objectname    | objecttype | fileindex
------------------+------------+-----------
 job_metadata.xml |         25 |       989
(1 row)

bacula=#


How do I output a list of files from this in order to compare?

~Doug

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users