Best Practices for Migrating from Development to Production?

Hi:
I’ve had a RAK831/SX1301/RPi3B+ configured with HOST OS VERSION balenaOS 2.83.21+rev1 development, and I have it registered and working as a gateway on TTN/TTS. I’d like to move to the current production OS version. Is there a simple way to ‘clone’ my settings create a new image, burn it onto a new SD card, plug it into the 'Pi, and have my gateway wake up and connect to TTN? Or are more steps involved?

Thanks for any pointers on how to proceed.

-Phil

I’m a bit surprised to see no replies after 4 days: did I perhaps post this in the wrong forum?

-Phil

Hi Phil, sorry for the delay, the last few weeks have been very busy on the support front.

The bad news is that for your current OS version there is no automatic way to clone your settings, you will need to reconfigure manually.

The better news is that from balenaOS v2.85 there is a runtime switch between development and production, so you would just need to add a developmentMode: false in your config.json in order to move to production mode. So, what you could also do is update to a newer development version (above v2.85), and then perform the config.json switch.

Hope that helps.

alexgg–thanks for this!
I easily did the update from the dashboard, but was concerned about how to change the developmentMode variable. There’s a lot of guidance out there indicating that you can’t just edit the config.json file, but I gave that a try and it seems to have worked. Now I’m up and running w/ 2.95.8 Production.

-Phil