Netonix FULL backup
Posted: Mon Jan 22, 2018 5:50 pm
I have read the other posts regarding this and feel that the backup being made currently is not really in usable format. Why not just have the Unimus server perform the needed steps automatically so that you can download a working .ncfg file and then place it on the server? My guess is that when it is needed for restoring you are not at a time when you want to be messing around what the correct format is, you just want something that can be restored.
Also, you are not really backing up this system as there are a number of other files that are being missed. A complete .ncfg file has the following structure (at least for 1.4.9):
There manager application is successfully grabbing this as a Node.js application, so there definitely should be ways of easily getting this into here as of course we want all configuration management in a single location and not spread over TONS of applications. For "inspiration" you might want to look at the code for the manager app:
http://forum.netonix.com/netonix-manager/
Also appears there is a basic API that could likely get the desired file as well, see:
https://forum.netonix.com/viewtopic.php?f=6&t=1726
Thanks as always!
Also, you are not really backing up this system as there are a number of other files that are being missed. A complete .ncfg file has the following structure (at least for 1.4.9):
Code: Select all
www
- config.json (this is what you backup)
etc
- dropbear
- dropbear_rsa_host_key
- dropbear_dss_host_key
- authorized_keys
- config
- lighttpd.pem
- passwd
- lighttpd.htpasswd
http://forum.netonix.com/netonix-manager/
Also appears there is a basic API that could likely get the desired file as well, see:
https://forum.netonix.com/viewtopic.php?f=6&t=1726
Thanks as always!