Linux system state recovery
The Backup Manager utilizes third-party recovery tool Relax-and-Recover (ReaR) to address System state on Linux. ReaR is the leader recovery solution for Linux based on GPLv3 license and developed entirely in Bash.
Linux system state restore instructions
The following is the sequence of steps to restore Linux system state:
-
Restore the rescue ISO image
If your source device is broken, you need to use another physical or virtual device to install the Backup Manager and restore the rescue image.
-
Under the Restore tab, select a specific System state backup session, cove-rear.iso, and the restore location where the cove-rear.iso file will be restored
-
-
Boot a device from the rescue ISO image
If a target device is a virtual device:
-
Connect the cove-rear.iso to CD/DVD drive
If a target is a physical device:
-
Create a bootable USB drive from cove-rear.iso, following the below steps:
-
-
Open Terminal and identify the USB device name using lsblk utility
-
Unmount the USB drive if it’s mounted:
# umount /dev/sdX
-
Write the ISO to the USB:
# dd if=path/to/cove-rear.iso of=/dev/sdX bs=4M status=progress
-
Eject the USB:
# eject /dev/sdX
-
Select Recover <hostname> or Automatic Recover <hostname>
-
If you have selected Recover <hostname>, enter a username (it might be any e.g. root) to log in
-
After logging in, run rear recover command to initiate the recovery process
Reboot the device from the USB, if the target is a physical device
Once the device is started from the rescue ISO, the Relax-and-Recover boot menu appears:
Select Recover <hostname>, if you want to set up the rescue system before the recovery process begins.
In case of selecting Automatic Recover <hostname>, logging in and running rear recover are performed automatically after the system finishes booting up.
-
Recover partitions and filesystems
Follow the prompts to recover partitions and filesystems. For more details, refer to the Relax-and-Recover documentation related to Layout configuration.
-
Restore the file system
Once the disk layout is recreated, the Backup Manager installation package is automatically downloaded and launched.
-
Enter the installation token and the encryption key or passphrase during the installation
The installation token can be generated by a Security offer on the device Settings tab.
After successful installation the Backup Manager automatically restores files and folders based on the closest Files and folders backup session.
Relax-and-Recover then performs some checks and set up the bootloader.
-
-
Reboot the device
-
Reboot the system by running the reboot command
In case of Automatic Recovery, select 3 to reboot the system
-
Boot the device from the hard drive or select the correct hard drive in the Relax-and-Recover boot menu
The system is then recovered.
On the recovered device, the Backup Manager must be updated and running in the restore-only mode.
-