Open mh182 opened 7 years ago
Thanks for filing this @mh182! I think it's likely that this is quite a bit more difficult than it sounds, but I can definitely see how this would be useful, you're totally right. Keep an eye on this ticket and we'll update it if/when we have a plan for this.
I open this issue based on the discussion in https://forums.resin.io/t/is-there-a-way-to-upgrade-resinos-without-flashing-the-image-again/793
Motivation: after running an unmanaged device for a couple days I have a few containers on it with data on
/mnt/data/resin-data/<app-name>/
. The only way to upgrade the device OS (as far as i know) is backup the data from the device, download the newest image, re-flash it and restore the previously created backup.resin local upgrade [host|ip]
should take care of this.local upgrade
would check the resinOS version on the device against the available images on resinOS.io. In case there is a newer version, ask if the upgrade should be performed. It should basically do what https://github.com/resin-os/resinhup does for unmanaged (local) devices.