Included on the Live DVD is Screen, a GNU utility which is available when you boot from the Live DVD into the Universal Recovery Console. Screen allows users to manage multiple shells simultaneously over a single Secure Shell (SSH) session or console window. This allows you to perform one task in a terminal window (such as verify mounted volumes) and, while that is running, open or switch to another shell instance to perform another task (such as to run the local_mount utility).
The Screen utility also has its own scroll-back buffer, which enables you to scroll the screen to view larger amounts of data, such as a list of recovery points.
|
NOTE: This utility is provided for convenience; use of the Screen utility is optional. |
The Screen utility starts on the machine booted with the Live DVD by default. However, if you have closed this application, you must start the Screen utility from the Live DVD using the procedure below.
The Screen utility starts.
Once the Live DVD ISO image is accessible on the machine on which you want to perform a BMR, and the number and size of volumes matches between the target machine and the recovery point you want to restore to bare metal, then you can launch a restore from the command line using the local_mount utility.
If you want to perform a BMR using the Rapid Recovery Core Console user interface, see Selecting a recovery point and initiating a BMR.
|
NOTE: When performing this procedure, do not attempt to mount recovery points to the /tmp folder, which contains the rapidrecovery-vdisk files. |
This task is a step in Performing a bare metal restore for Linux machines. It is part of the process for Launching a bare metal restore for a Linux machine using the command line.
Complete the steps in this procedure to select a recovery point on the Core to restore to the physical or virtual BMR target machine.
sudo local_mount
lm
Text Box | Description | Required |
---|---|---|
Rapid Recovery Core IP address or hostname |
The IP address or hostname of the Rapid Recovery Core. |
Yes |
Domain | The domain of the Rapid Recovery Core. This is optional. | No |
User | The user name for an administrative user on the Core | Yes |
Password | The password used to connect the administrative user to the Core. | Yes |
A list displays showing the machines protected by the Rapid Recovery Core. It lists the machines found by line item number, the host display name or IP address, and an ID number for the machine.
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 the base and incremental recovery points for that machine. This list includes:
r <recovery_point_ID_number> <path>
|
Caution: You must ensure that the system volume is not mounted. |
|
NOTE: If you started the machine from the Live DVD, then the system volume is not mounted. |
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 and is not the directory to which it is mounted.
|
NOTE: You can also specify a line number in the command instead of the recovery point ID number to identify the recovery point. In that case, use the agent/machine line number (from the For this syntax, when variables shown in brackets are replaced with values, the command looks like this example:
?? |
After the restore begins, a series of messages display that notify you of the restore completion status.
|
NOTE: If you receive an exception message, the details regarding that exception can be found in the local_mount.log file. The local_mount.log file is located in /var/log/apprecovery. |
exit
and then press Enter.
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.
You can also perform this action using the
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:
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center