Converse agora com nosso suporte
Chat com o suporte

Rapid Recovery 6.7 - User Guide

Introduction to Rapid Recovery The Core Console Repositories Core settings 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 Snapshots and recovery points Managing privacy Encryption Authentication 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

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 151: 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.

Restoring volumes for a Linux machine using the command line

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.

  1. Run the Rapid Recovery local_mount utility as root, for example:
    	sudo local_mount
  2. At the Rapid Recovery mount prompt, enter the following command to list the protected machines.
    	lm
  3. When prompted, enter the IP address or hostname of your Rapid Recovery Core server.
  4. Enter the logon credentials, that is, the user name and password, for this server.

    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).

  5. Enter the following command to list the currently mounted recovery points for the specified 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 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.

  6. Enter the following command to select a recovery point to restore:
    	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.

    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, you would use the protected machine line number (from the lm output), followed by the recovery point line number and volume letter, followed by the path, such as, r <machine_line_item_number> <recovery_point_line_number> <volume_letter> <path>. In this command, <path> is the file descriptor for the actual volume.

    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.

  7. When prompted to proceed, enter y for Yes.

    Once the restore proceeds, a series of messages will display to notify you of the status.

  8. Upon a successful restore, the 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.)

Verifying a bare metal restore

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:

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação