>>>>> On Thu, 30 Nov 2006 11:31:10 -0500, Ryan Novosielski said: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Kern Sibbald wrote: > > On Thursday 30 November 2006 16:31, Ryan Novosielski wrote: > >> Kern Sibbald wrote: > >>> On Wednesday 29 November 2006 15:17, [EMAIL PROTECTED] wrote: > >>>> IIRC, though, this also ignores Storage/Device names in Schedule > > directives, > >>> so this may be no more accurate than 'status dir'. > >>> > >>> That particular problem is fixed (hopefully) in the current 1.39 CVS. > >> Thrilling! Thank you for the help -- this should make my life infinitely > >> easier (at least WRT backups ;)). > > > > Actually to give credit where it is due, Martin supplied the patch (many > > thanks). I forget if he sent an email or a submitted a bug report, but if > > I > > remember right his fix was for 1.38.11, but since 1.39.x is so close, I > > only > > applied it to 1.39. I mention this just in case you really need the fix > > and > > don't want to upgrade to 1.39 yet, which is still BETA. > > That I did know -- he did send an e-mail; I guess my thank you was to > the community. > > I would be interested in patching my director to support this, to a > certain extent, as I'd imagine it was a fairly trivial patch (at least > in the sense of how many lines/files changed -- possibly not in > intricacy. Is it freely available somewhere (perhaps Martin can chime in)?
This is the patch I have been using in 1.38.11: --- src/dird/ua_status.c~ Tue Mar 14 21:41:40 2006 +++ src/dird/ua_status.c Fri Oct 27 11:56:37 2006 @@ -380,9 +380,12 @@ close_db = true; /* new db opened, remember to close it */ } if (ok) { + STORE *old_jcr_store = jcr->store; mr.PoolId = jcr->PoolId; mr.StorageId = sp->store->StorageId; + jcr->store = sp->store; ok = find_next_volume_for_append(jcr, &mr, 1, false/*no create*/); + jcr->store = old_jcr_store; } if (!ok) { bstrncpy(mr.VolumeName, "*unknown*", sizeof(mr.VolumeName)); __Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users