Device configuration and software update

Hey everyone,

I’ve been diving into software updates and device configuration in Mender UI and would love to learn about best practices. If I missed a related question someone else asked, I apologize—please point me in the right direction!

Specifically, I’m interested in how to update device software in Mender UI without altering the current configurations or automatically syncing the correct configuration immediately after the software update.

Looking forward to hearing your insights and experiences. Thanks in advance for your help!

Hi @csimon-be,

The canonical solution is to move the configuration items that you want to be persistent to /data, or an additional persistent partition. If you need configuration migration between updates, this can be done through state scripts.

Greets,
Josef

1 Like

Hi @TheYoctoJester,

Thanks for your answer, I will implement it this way.

Greets,