How to update openwrt without losing configuration?

I need to make a script to update my router without losing configuration files and packages installed on the router.

I tried to repeat the same interface behavior in my script (I used the sysupgrade command), but I lost the configuration.

In addition, I tried updating with an interface with the keep luci option, but it also does not work, I lost all data routers.

The sysupgrade command does not save the configuration.

Is there anyone who will offer me a solution?

Thank you in advance for your help.

+4
source share
1 answer

You can use the Backup and Restore function from webUI (luci) to save / download configuration files to / from your PC.

+3
source

Source: https://habr.com/ru/post/1396581/


All Articles