OpenWrt Forum Archive

Topic: How to backup config that UCI changes

The content of this topic has been archived on 29 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

eg:
   New FW: wireless have add a new section

I want to upgrade to new FW and backup wireless config, but after upgraded, then old wireelss config file have covered new wireless config file that with a new section. So I must do factory reset sad

There are any better way to backup wireless config and save new section after upgrade?

(Last edited by WeiXiao on 11 Jul 2017, 04:21)

From LuCI: System -> Backup/Flash Firmware -> Backup old configuration

This will give you a TAR archive containing all your configuration files. Then upgrade to a newer FW and clear the existing config. Now manually paste over those bits from the old config that you need.

Usually the config files are compatible between versions, but sometimes new things have been added and old things refactored so that the config files simply aren't compatible.

The discussion might have continued from here.