NLnetLabs / krillmanager

Layered infrastructure as code for running Krill as a highly available scalable service with integration points for monitoring and log analysis.
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Restore not possible on fresh instance without init #43

Closed ximon18 closed 4 years ago

ximon18 commented 4 years ago

Running krillmanager restore without first running krillmanager init fails with error:

Please run krillmanager init before using this command.

While the init wizard offers to let you restore from a backup, one can imagine wanting to restore from backup rather than init with the wizard, it should work. One change could be to give a more helpful message and that it be an informational message rather than a red error message. However, why first surprise the user then force them to go down a different path when the restore command exists and should just DWIM.