"src_labelstr" v.s. "labelstr" in Planner.pm

Nathan Stratton Treadway <[email protected]> Sat, 23 Sep 2017 17:13:44 -0400
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[email protected]>
(Jean-Louis,)

I was trying to see if I could exand the (new) amvault.8 paragraph about
--src_labelstr with a little more detail... and along the way discovered
while looking through Amanda/Recovery/Planner.pm that the make_plan()
subroutine references both $params{'src_labelstr'} and
^$params{'labelstr'}.

I see that Restore.pm uses the "labelstr" parameter in its call to
make_plan while Vault.pm uses "src_labelstr", and further that
the src_labelstr value simply gets passed down into the
DB::Catalog::get_dumps() call, while the "labelstr" version is processed
within make_plan() later on -- but I was wondering if you could give a
short explaination of what the different is between the two (i.e. why
both these parameters exist)?

Thanks.

						Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239