hmm what type of data do you mean you want to preserve?

I need to know a few things to know exactly what you mean.

  1. you just want a backup?, you can enter luci via advanced settings and then on System → Backup / Flash firmware you can make a backup.

  2. if you upgrade and select keep settings you won’t lose the data.

  3. do you want to preserve a script in a backup or some specific files which not include themselves in a backup?, then you can add the location in /etc/sysupgrade.conf now if you make a backup it will be included.

  1. do you want to run code after a upgrade?, then you have /etc/uci-defaults

as you see theres alot of choice and directions :slight_smile: