Image Backup and Restore
Prepare an SSD with a capacity of at least 120 GB.
1 min read · English documentationPrepare an SSD with a capacity of at least 120 GB.
-
Insert the SSD into a USB SSD enclosure.
-
Connect the enclosure to the onboard computer via USB.
-

-
Open the Disks utility.
-

- Format the SSD as EXT4.
-

-

- An sda device appears after formatting is complete.
-

Backing Up the Image
-
Tip
sdaX is the device created by formatting. It is sda on this example system. On your system, check the string shown after the device in the figure above.
- Mount the USB SSD.
sudo mount /dev/sdaX /mnt- Back up the system to the USB SSD.
sudo rsync -axHAWX --numeric-ids --info=progress2 --exclude={"/dev/","/proc/","/boot","/sys/","/tmp/","/run/","/mnt/","/media/*","/lost+found"} / /mnt
Restoring the Image
sudo mount /dev/sdaX /mnt
sudo rsync -avz --progress /mnt/* /
- Restart the device.
sudo reboot
