New Linux releases for the VisionCam XM2 are provided as recovery packages. A recovery package is a ZIP file which contains the Linux image (tar.gz) and scripts for installing images and for creating backup images.
| File | Description |
|---|---|
helpers/∗ | Files required by the installation scripts. |
html/∗ | This document, the most recent release is also available online |
∗.tar.gz | Linux image: compressed tarball containing the root filesystem. |
∗-elbe-report.txt | Report file generated by the ELBE build system |
∗-license.txt | Licenses of installed packages within the Linux image |
Remote_OS_Backup.cmd,Remote_OS_Backup.sh | Batch file / shell script for PC: Backup the filesystem of a remote device over Ethernet / ssh. |
Remote_OS_Install.cmd, | Batch file / shell script for PC: Install the Linux image on a remote device over Ethernet / ssh. |
Local_OS_Install.sh | Shell script for device: Install the Linux image directly on the device. |
The recovery packages and tar.gz images provided by IMAGO have a unique version number which is part of the file name.
| Recovery package | : | Linux_Recovery_ubuntu2004_vc-xm2_v1.0_a.zip |
| Image file | : | ubuntu2004_vc-xm2_v1.0_a.tar.gz |
ubuntu2004 | → | OS: Ubuntu 20.04 |
vc-xm2 | → | Target device: VisionCam XM2 |
v1.0 | → | Image version (see page Release Notes) |
a | → | Image configuration (see page Image configurations) |
The following sections describe provided methods for backup and recovery.
First, extract the recovery package (ZIP file) on a Linux or Windows host. The package contains the Linux image and it provides backup and recovery scripts for Linux hosts (*.sh) and for Windows hosts (*.cmd).
For Linux hosts, the executable flags for the scripts must be set after extracting the ZIP file:
The scripts can be controlled interactively, just execute the file and follow the instructions. They can also be controlled using command line parameters. Use the parameter -h for help:
The Windows batch file Remote_OS_Backup.cmd and the Linux shell script Remote_OS_Backup.sh create a backup of the filesystem of a remote device by using ssh / scp. The device will reboot into a minimal initramfs file sytem to create the backup. The created Linux image will be downloaded automatically after the process.
The Windows batch file Remote_OS_Install.cmd and the Linux shell script Remote_OS_Install.sh install a Linux image on a remote device by using using ssh / scp. The device will reboot into a minimal initramfs file sytem to install the image. Images provided by IMAGO or created by the backup process can be used.
The shell script Local_OS_Install.sh can be executed directly on the device to install a Linux image.
The VIBFinder 2 tool also supports backup and recovery. The recovery package is only required to obtain the provided Linux image for recovery.