If performing manual partitioning for BMR of a Linux machine using the Restore Machine Wizard, you must first mount the appropriate partitions on the destination machine. Perform this action from the command line in the Universal Recovery Console.
This process is a step in performing a BMR for Linux machines from the command line.
Before launching a bare metal restore (BMR) for a Linux machine, the following conditions are required:
This process is a step in Performing a bare metal restore for Linux machines.
To launch a BMR from the Rapid Recovery Core Console, perform the following tasks.
If restoring from the command line using the local_mount utility, then you must first set appropriate privileges, mount volumes, execute local_mount, obtain information about the Core from the list of machines, connect to the Core, obtain a list of recovery points, select the recovery point you want to roll back onto bare metal, and launch the restore.
Optionally, you may want to start the Screen utility.
To launch a BMR from the command line, perform the following tasks.
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.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center