Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-2931

System snapshot i1

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      During initial use / evaluation of Mender we need to provide the user an easy way to test system updates. The reference environment will be based on Raspbian (MEN-2893) and testing system updates need to be easy on that environment as it will be the main path in getting started.

      There are a several ways to generate system updates on the Debian family, where the "golden image" approach is usually the first one users try and the easiest to start with. However our current method is quite time consuming and intricate (move SD cards, dump image, etc.). We have some new ideas. This Epic is about the "snapshot" idea.

      User value (why)

      • Easily test Mender system updates with his own changes during evaluation

      Acceptance criteria

      • There is a command to "snapshot" the currently running (root file) system running on the device, triggered from a development workstation
      • The result is a rootfs-image streamed to a local development workstation using SSH, where it can be packaged and uploaded as a Mender Artifact to the Mender server
        • We assume SSH is installed and enabled on the device and it's accessible from the development workstation
      • There is progress indicator, ideally with ETA of finished copy to development workstation
      • It works with the onboarding reference environment (MEN-2893) out of the box

      Future notes (not required for this Epic)

      • Snapshot directly from device to Mender server (see i2 in MEN-2972)
      • It is possible to make this work on any Linux system
      • It would be useful to snapshot the whole system into an .img file for provisioning new devices
      • Ability to store both .img and Mender Artifact on a separate location like a nearby laptop or Google Cloud bucket for history/future reference
      • Note: Snapshotting .img could be a nice standalone tool, independent of Mender (for customizing and extracting images before flashing them to devices)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alfrunes Alf-Rune Siqveland
              Reporter:
              a10053 Marcin Pasinski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support