FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
+1 vote
299 views 1 comments
by anonymous
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 anonymous

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

 

root@Teltonika:~# 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 anonymous

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...