Bacula-users

Re: [Bacula-users] bscan and purgedfiles

2010-11-16 14:22:50
Subject: Re: [Bacula-users] bscan and purgedfiles
From: Craig Miskell <craig.miskell AT opus.co DOT nz>
To: Martin Simmons <martin AT lispworks DOT com>
Date: Wed, 17 Nov 2010 08:18:57 +1300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Simmons wrote:
>> On Tue, 16 Nov 2010 16:41:30 +1300, Craig Miskell said:
>>      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?
> 
> See http://bugs.bacula.org/view.php?id=1558

Many thanks; completely forgot to check mantis first.

- --
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
I've seen video of some loon hammering a nail into his own testicle.
Mind you, I've had days when that would seem like a reasonable alternative
to being a sysadmin.
                - Lionel, in the Monastery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkzi2SEACgkQmDveRtxWqnYttACglBd/Ps5rFxPCjYTtBL3L55Vr
Lb0An0x6x5/xHZQCwovJm9cc/IxEmX98
=bk1I
-----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>