It looks like DumpPreUserCmd is run before backing up all the shares.
Would it be possible to add DumpPreShareCmd and Post commands which have
access to basically the same params as the DumpPreUserCmd but where
$share is the current share being backed up? DumpPreShareCmd would be
run before each share is backed up adn DumpPostShareCmd would be run
after each share is done.
We would like to use this to do a filesystem snapshot and backup the
snapshot. We can't do this with the DumpPreUserCmd because we would
have to snapshot all the filesystems and currently, we're using one of
the active filesystems for the snapshot backing store.
...
I just spent a few minutes making a patch to do this against the cvs
code. The patch is attached if you'd like to review it and include it
in future versions, that'd be great.
Thanks,
Marc Prewitt
