I need to make a script to upgrade my router without losing the configuration files and packages installed on the router.
I tried to repeat the same behavior of the interface in my script (I used the command sysupgrade) but I lost the config.
Besides, I have tried the upgrade with the interface with the option keep luci but it does not work too, I lost all the data router.
The command sysupgrade does not retain the configuration.
Is there anyone who offer me a solution?
Thank you in advance for your help.
You can use "Backup & Restore" feature from the webUI (luci) to save/load configuration files to/from you PC.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With