You are here

What directory on node's file system is safe from upgrade?

3 posts / 0 new
Last post
kg9dw
kg9dw's picture
What directory on node's file system is safe from upgrade?
Is there any place on the node's file system that is safe from being overwritten during an upgrade? I have some custom configuration that I'd like to not lose during a software upgrade. For now I've been storing it off node, and I'll continue to do that for backup purposes. 
KG6JEI
No part of the file system

No part of the file system except files containing the submission data (so that configs can be rebuilt from scratch after reboot) and a couple misc files (ssh keys and password files) are retained across an OTA upgrade.  

This is by intentional design, a couple of the early beta versions of OTA actually had issues because we retained more than was absolutely necessary to rebuild the node after upgrade. This tight lock down allows the nodes to not be (at least to date and hopefully always in the future) tied to small version upgrades and instead allows major components to be upgrade in the core system without anything breaking.

K5DLQ
K5DLQ's picture
I might suggest a script that
I might suggest a script that you run from your PC that uses SCP to pull the files, then, push them back after the upgrade.  Load an SSH cert on your nodes, and it makes it easy.


 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer