Bacula-users

[Bacula-users] bscan and purgedfiles

2010-11-15 23:02:29
Subject: [Bacula-users] bscan and purgedfiles
From: Craig Miskell <craig.miskell AT opus.co DOT nz>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 16 Nov 2010 16:41:30 +1300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
        Just ran a bscan today to re-read a tape where the files had been 
purged by
normal processes.  After the bscan, the job record in the database still had
purgedfiles set to 1, which means that when running a restore through bconsole,
it would fetch all the file records, then check the purgefiles flag and tell me
that the job had been purged, and asked me if I'd like to restore all the files
from the job.

If I manually updated the jobs table, setting that purgedfiles back to 0 for
that job, I could then start the file selection process.

Is this expected, or have I missed something?  I'm expecting the latter, but
have no idea what.  I can't see any code where it would set PurgedFiles to
anything other than 1, but that seem strange to me.

This is on Bacula 5.0.0

Any suggestions?

Thanks,

- --
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
Please note that I have written my entire message in the subject line somehow
neglecting to use the actual body of the message for any content mostly just to
annoy people
- - In the subject line of an e-mail from a Colleague

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkzh/WoACgkQmDveRtxWqnZNyACgkigm10+sPeEIXpanUp9zMG8D
n/YAoJKrXrVguB59bbfO2zVzS/WKo8TS
=YHa5
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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>