By default, files for the “Create default configuration” feature are saved in the directory /overlay/upper/etc/default-config. This file is exclusively used in the WebUI and serves as the default configuration for restoration. You can easily identify it when an additional option appears under “Restore default settings” after it has been created.
When you use sysupgrade, backups are created which can only be utilized through the “Restore configuration” section or sysupgrade.
I just try. that means it’s not possible to use CLI to create a default configuration that can be used by pressing reset button during 6 to 11 seconds ?
thanks for your support
hello, today I just use uci commands to configure all my RUT and I was looking for a way to configure the user default recovery.
but the API seems to answer my need (I didn’t know https://developers.teltonika-networks.com/, is it new ?).
Do you recommand to use the API to configure the RUT instead of uci commands ?
Yes, the API is relatively new and its implementation is expected to increase.
Similar to UCI, API is just another command within RUTOS.
I can’t recommend one over the other. UCI has been used for a longer time and is more familiar to most, but API is becoming more powerful and easily translates to external API usage. You can find more information about it, as you may have already noticed, here: link to developers.teltonika-networks.com