System options and snapshots

I’m exploring snapshots as means to fully backup / restore IOT device running UC 20.

Full system snapshot ( captures all my snap data - great! …but I did not see any of my custom system options ( stored away in the various snapshot zips

Is there support for snapshotting / restoring system options?



snap get -d system >options-backup.json

(or the equivalent via a management snap and the snapd API)

Thanks for reply. We had considered that , was hoping I had just missed something about backing up system options.

We are kicking around this approach

  • user or system kicks off a backup
  • generate system options-backup.json
  • store $SNAP_DATA for one of our snaps
  • perform system snapshot

After snapshot restore, update system options from options-backup.

1 Like