FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14243 questions

16889 answers

27796 comments

54525 members

+1 vote
210 views 1 comments
by
Hi,

Is there anyway that some files can be preserved on the RUTX09 after a firmware update? There are some things that we want to maintain on the device and would prefer not to have to recopy it there it everytime we upgrade the firmware.

Thanks

1 Answer

+1 vote
by

Hi,

For updates, it should be sufficient to specify a folder that you do not want to be affected in the update file: /etc/sysupgrade.conf

 

[email protected]:~# cat /etc/sysupgrade.conf

## This file contains files and directories that should

## be preserved during an upgrade.

 

# /etc/example.conf

# /etc/openvpn/

Regards.

Best answer
by

I have tried this but it does not seem to actually work. The files are listed in `/etc/sysupgrade.conf` but they are not preserved.

Is there a specific way to invoke the `sysupgrade` command that will activate this option? I am using `sysupgrade -c` which appears from the helptext to be the correct mode...