It would be nice to have a command-type export where commands are output to reproduce
the configuration, e.g.
mb export --format=shell | ssh sh -x
Essentially this is already printed after "mb edit" for the changes.
Also it would be easy to copy single mirror configurations with
mb export --format=cmd | grep oldmirror | sed -e 's/oldmirror/thecopy/'g | sh -x
The Veritas cluster also has a similar feature and I found it extremely useful.
History
Date User Action Args
2014-02-23 11:51:49 dagobert create
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue151
msg550 (view) Author: dagobert Date: 2014-02-23.11:51:49
It would be nice to have a command-type export where commands are output to reproduce the configuration, e.g. mb export --format=shell | ssh sh -x
Essentially this is already printed after "mb edit" for the changes.
Also it would be easy to copy single mirror configurations with
mb export --format=cmd | grep oldmirror | sed -e 's/oldmirror/thecopy/'g | sh -x
The Veritas cluster also has a similar feature and I found it extremely useful.
(end of migrated issue)