Before restoring from a recovery point using the command line, you must dismount the disk on which you will be restoring data.
This procedure describes how to restore the volumes on a protected Linux machine from the recovery points stored in the Rapid Recovery Core using the command line local_mount
utility.
|
NOTE: In previous releases, this process was referred to as performing a rollback. |
For information about performing restore for Linux volumes from the Rapid Recovery Core Console, see Performing a bare metal restore using the Restore Machine Wizard.
You can begin a restore from any location on the Rapid Recovery Core Console by clicking the Restore icon in the Rapid Recovery button bar. When you start a restore in this manner, you must specify which of the machines protected on the Core you want to restore, and then drill down to the volume you want to restore.
In Rapid Recovery, you can restore volumes on your protected Linux machines using the command line local_mount
utility.
|
Caution: To restore the system or root (/) partition or entire operating system, see Performing a bare metal restore for Linux machines. |
local_mount
utility as root, for example:
sudo local_mount
lm
A list displays showing the machines protected by this Rapid Recovery Core server. It lists the protected machines found by line item number, host or IP IP address, and an ID number for the machine (for example: 7d658e5f-fa08-4600-95f0-5f486bc1b6a4#de0896fd-571a-4cc5-aeed-264d2c3c72f4#f377e145-dd4d-3ac3-5b15-37ce8f4913ba:2).
lr <machine_line_item_number>
|
NOTE: You can also enter the machine ID number in this command instead of the line item number. |
A list displays that shows the base and incremental recovery points for that machine. This list includes a line item number, date and time stamp, location of volume, size of recovery point, and an ID number for the volume that includes a sequence number at the end (for example, ”293cc667-44b4-48ab-91d8-44bc74252a4f:2”), which identifies the recovery point.
r <volume_recovery_point_ID_number> <device path>
This command restores the volume image specified by the ID from the Core to the specified path. The path for the restore is the path for the device file descriptor, not the directory to which it is mounted.
For example, if the lm
output lists three protected machines, and you enter the lr
command for protected machine number 2
, and you want to restore the 23
recovery point volume b
to the volume that was mounted to the directory /dev/sda5,
the command would be:
r 2 23 b /dev/sda5
|
NOTE: It is possible to restore to / if needed. If performing a Bare Metal Restore using a Live DVD, it is assumed you want to restore to a different machine. For more information, see Launching a bare metal restore for Linux. |
y
for Yes.
Once the restore proceeds, a series of messages will display to notify you of the status.
local_mount
utility will automatically mount and re-attach the kernel module to the restored volume if the target was previously protected and mounted. If not, you will need to mount the restored volume to the local disk and then should verify that the files are restored (for example, you can use the sudo mount
command and then the ls
command.) After you perform a bare metal restore (BMR), you can verify the progress of the restore. When the action is completed successfully, you can start the restored server. Some troubleshooting steps are included if you encounter difficulties connecting to the Universal Recovery Console to complete the restore, and if you need to repair startup problems with the restored machine.
You can perform the following tasks:
Complete the steps in this procedure to view the progress of restoring data from a recovery point (including bare metal restore) initiated from the Rapid Recovery Core Console.
Complete the steps in this procedure to start the restored target server.
|
NOTE: Before starting the restored target server, you should verify that the recovery was successful. For more information, see Viewing the recovery progress. |
This task is part of the process for Verifying a bare metal restore.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center