On Wed, Oct 13, 2010 at 12:25 AM, Jon LaBadie <[email protected]> wrote:
> I wonder if a syntax extension that would be backward compatible is
> possible.  Blue-skying here, maybe a single argument with a separator
> between host and disk.  Something like 'host|disk' or 'host/disk'.

For those playing along at home, by the way, this is all summed up
nicely in the amanda-match(7) manpage.
http://wiki.zmanda.com/man/amanda-match.7.html

Back when I was implementing 'amadmin holding ..', I considered
defining a dumpspec of the form host:d...@level/date, but it was
rejected because the longer dumpspec syntax is already unambiguous.
It's only the dlespecs that are ambiguous, and those are only used for
amdump and amflush.

> Any merit (or problems) to the idea?  Or maybe the need does not
> occur often enough to matter.

Honestly, the problem doesn't occur often enough to try to
*complicate* things by supporting both an ambiguous and unambiguous
syntax -- Amanda's match expressions are pretty complex already.

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com

Reply via email to