Bacula-users

[Bacula-users] bscan set wrong fileset on job

2010-09-19 17:59:10
Subject: [Bacula-users] bscan set wrong fileset on job
From: Craig Miskell <craig.miskell AT opus.co DOT nz>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 20 Sep 2010 09:54:24 +1200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
        I recently had to bscan a tape.  The job was in the database (the Job 
Retention
period hadn't yet passed), but the file/path records were not (the File
Retention period *had* passed).

For this client, there were two Filesets in the database due to a change a few
months back.  The job on the scanned tape was originally run using fileset 1,
but bscan changed the record in the Job table to fileset 2.

I've not yet run exhaustive tests because it takes 3-4 hours to read the tape
and insert the data into the database.  Before I go down that path: should I be
expecting this behaviour from bscan?  If not, I should be able to fix it and
supply a patch (you know, good old community involvement in bug fixes.... :)),
but I would like to know I'm not wasting my time first.

I'm running Bacula 5.0.0 on Debian Etch (yes, I know, that's old.  I'm working
on it in between bscanning tapes :))

Side question: is bscan the correct operation in this case, where File Retention
has passed but Job Retention hasn't?  Given, of course, that I want to restore
selected files, not the entire fileset.

Thanks,

- --
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
Yes, Java is so bulletproofed that to a C programmer it feels like being in a
straightjacket, but it's a really comfy and warm straightjacket, and the
world would be a safer place if everyone was straightjacketed most of the time.
        -- Mark 'Kamikaze' Hughes

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

iEYEARECAAYFAkyWhpAACgkQmDveRtxWqnYTFACgh9F+SNwaOqGRn8cqGmdfIlgd
jiIAn21tq3D8jBE/601sphASjpLHj51Q
=EYub
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-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>