Before installing a new operating system image, an optional full backup of the RevPi’s internal eMMC storage can be created. This allows the existing system to be restored at any time if needed.

Prerequisites #

✓ The RevPi base module is connected to your host PC via a USB 2.0 data cable, see: Reinstallation.

✓ The host PC is connected to a storage medium with sufficient storage space, e.g. a USB stick or hard drive.

  • Windows

  • Linux

▷ Install an imager program on your host PC that can read and write, e.g. Win32 Disk Imager.

▷ Start the RevPi in bootloader mode.

▷ Start Win32 Disk Imager on your host PC.

▷ Under Image file, select the storage medium on your host PC, e.g. the USB stick.

▷ Enter an image file name with the file extension .img.

▷ Under Data carrier, select the drive letter of the RevPi.

▷ Select Read.

❯ The backup is saved. This process can take several minutes.

▷ Start the RevPi in bootloader mode.

▷ Check which block device the RevPi was recognized as:

lsblk

❯ The RevPi typically appears as /dev/sdX.

▷ Create the backup with dd (disk duplicator). Replace /dev/sdX with the recognized block device, e.g. /dev/sdb:

sudo dd if=/dev/sdX of=~/RevPi_Backup.img bs=4M status=progress conv=fsync

❯ The backup file RevPi_Backup.img is saved in your home directory. This process can take several minutes.

Caution

Select the correct drive (/dev/sdX). Selecting the wrong block device may result in data loss on other storage devices.

Assure to enter the path to the block device without the partition number.

❯❯ The backup has been created successfully. If required, you can now install a new operating system image, see Reinstallation.