It would be cool to have some way to back up system configurations (and subsequently restore as needed), to help any system admins that make heavy use of Service Commander
We could write simple scripts around tar (or something) to make a backup file, and restore from a backup file
We could also have a set of scripts to manage that for you. For instance, a backup command that just stores them in $HOME/.sc/.config_backups/<date>.tar or something, and a restore command that lets you choose which version you're restoring
The restore command would presumably need to let the user choose how to handle conflicts (keep old, keep new?) and configs that were deleted since the backup was taken
It'd be really cool if we used dialog or something
In any event, this is just brainstorming. We should finish a design conversation here before work is started
Describe the solution you'd like
It would be cool to have some way to back up system configurations (and subsequently restore as needed), to help any system admins that make heavy use of Service Commander
cc @chrjorgensen , ref: https://github.com/ThePrez/ServiceCommander-IBMi/issues/142#issuecomment-1076679245
A few brainstorming ideas:
tar
(or something) to make a backup file, and restore from a backup file$HOME/.sc/.config_backups/<date>.tar
or something, and a restore command that lets you choose which version you're restoringdialog
or somethingIn any event, this is just brainstorming. We should finish a design conversation here before work is started