Converse agora com nosso suporte
Chat com o suporte

Rapid Recovery 6.5 - User Guide

Introduction to Rapid Recovery The Core Console Repositories Core settings Managing privacy Encryption Protecting machines
About protecting machines with Rapid Recovery Understanding the Rapid Recovery Agent software installer Deploying Agent to multiple machines simultaneously from the Core Console Using the Deploy Agent Software Wizard to deploy to one or more machines Modifying deploy settings Understanding protection schedules Protecting a machine About protecting multiple machines Enabling application support Settings and functions for protected Exchange servers Settings and functions for protected SQL servers
Managing protected machines Credentials Vault Snapshots and recovery points Replication Events Reporting VM export Restoring data Bare metal restore
About bare metal restore Differences in bare metal restore for Windows and Linux machines Understanding boot CD creation for Windows machines Managing a Linux boot image Performing a bare metal restore using the Restore Machine Wizard Using the Universal Recovery Console for a BMR Performing a bare metal restore for Linux machines Verifying a bare metal restore
Managing aging data Archiving Cloud accounts Core Console references REST APIs Glossary

Mounting partitions from the command line

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.

Launching a bare metal restore for Linux

Before launching a bare metal restore (BMR) for a Linux machine, the following conditions are required:

  • To restore a recovery point saved on the Core, you must have the appropriate hardware in place. For more information, see Prerequisites for performing a bare metal restore for Windows or Linux machines.
  • The BMR target machine must be started using the Live DVD boot ISO image. For more information, see Managing a Linux boot image.
  • The number of volumes on the Linux machine to be restored must match the number of volumes in the recovery point. You must also decide whether to restore from the Restore Machines wizard in the Rapid Recovery Core Console, or from the command line using local_mount. For more information, see Managing Linux partitions.
  • If restoring from the Core Console UI, the first step in launching a BMR is to select the appropriate recovery point, then initiate the restore to the hardware by specifying the IP address and temporary password you obtained from the Universal Recovery Console. You must then map the drives and start the restore.

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.

Starting the Screen utility

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.

  1. If the machine was booted from the Live DVD, then in the terminal window, type screen and press Enter.

    The Screen utility starts.

Launching a bare metal restore for a Linux machine using the command line

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.

  1. To run the Rapid Recovery local_mount utility as root, type the following command and then press Enter:
        sudo local_mount
  2. To list the protected machines, type the following command and then press Enter:
        lm
  3. When prompted, enter the connection information for the Rapid Recovery Core as described in the following table, pressing Enter after each required command:
    Table 146: Rapid Recovery Core connection information
    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.

  4. To list the recovery points for the machine that you want to restore, type the list recovery points command using the following syntax and then press Enter:
        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:

    • A line item number
    • Date and time stamp
    • A numbered list of volumes within the recovery point
    • Location of the volume
    • Size of the recovery point
    • An ID number for the volume that includes a sequence number at the end, which identifies the recovery point
  5. To select the recovery point for a restore, enter the following command and then press Enter:
    		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 lm output), followed by the recovery point line number and volume number (from the numbered list of volumes within the recovery point), followed by the path. For example:

r <machine_line_item_number> <base_image_recovery_point_line_number> <volume_number> <path>
 
In this command, <path> is the file descriptor for the actual volume.

    For this syntax, when variables shown in brackets are replaced with values, the command looks like this example:r 1 24 1 /dev/sda1


  6. When prompted to proceed, enter y for Yes and then press Enter.

    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.

  7. Upon a successful restore, exit local_mount by typing exit and then press Enter.
  8. Your next step is to verify the restore. For more information, see Verifying the bare metal restore from the command line.
Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação