I completely agree with @lewis.heidrick. You should do what you can to track down the root cause of the issue. However I also believe in answering the asked question. Right or wrong you did ask.
Post command. When needed I use this commend to reboot the hub.
Backups you would need to handle separately, but it would be possible to do with a wget (on another device) check out this post