Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to command files #151

Open
poeml opened this issue Jun 5, 2015 · 0 comments
Open

Export to command files #151

poeml opened this issue Jun 5, 2015 · 0 comments

Comments

@poeml
Copy link
Owner

poeml commented Jun 5, 2015

                                                                                     [          ]

Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue151

Title    Export to command files
 Priority   wish  Status   unread
Superseder       Nosy List dagobert
Assigned To      Keywords

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.

History
         Date           User   Action Args
2014-02-23 11:51:49 dagobert create

(end of migrated issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant