DRLM Client Recover

In this section we show how to recover a system which has been backed up.

PXE Client Recover

In this example your client and server has the following configuration. Content of client configuration file /etc/drlm/clients/fosdemcli4.cfg

DRLM_BKP_TYPE="PXE"
DRLM_BKP_PROT="NETFS"
DRLM_BKP_PROG="TAR"

Reboot the Client and select boot from network. Automaticaly will boot from PXE.

  1. The DRLM server gives us through PXE/TFTP the client boot system. We just have to select first menu option to enter in the recovery system.

_images/RecoverImage1_v2.png
  1. Once we have the system ready Login as “root”. No password required.

_images/RecoverImage2.jpg
  1. Now we can recover the system with the command “rear recover”.

_images/RecoverImage3a.png
  1. The system is recovering.

_images/RecoverImage4.jpg
  1. System recovered! So we only have to restart the client.

_images/RecoverImage5.jpg

ISO Client Recover

In this example your client and server has the following configuration. Content of client configuration file /etc/drlm/clients/ReaRCli1.cfg

DRLM_BKP_TYPE="ISO"
DRLM_BKP_PROT="RSYNC"
DRLM_BKP_PROG="RSYNC"
  1. If an ISO type rescue image has been done we can get it from DRLM stord directory (/var/lib/drlm/store/ClientName/ConfigName/*.iso):

~# ls /var/lib/drlm/store/ReaRCli1/default/*.iso
/var/lib/drlm/store/ReaRCli1/default/ReaRCli1-default-DRLM-recover.iso

And use this image to create a new machine from ISO:

_images/RecoverISO1.jpg _images/RecoverISO2.jpg
  1. When Relax-and-Revocer menu appear, we just have to select first menu option to enter in the recovery system.

_images/RecoverISO3.jpg
  1. Once we have the system ready Login as “root”. No password required.

_images/RecoverISO4.jpg
  1. Now we can recover the system with the command “rear recover”.

_images/RecoverISO5.jpg
  1. System recovered! So we only have to restart the client.

_images/RecoverISO6.jpg