Previous Topic: Review the PrerequisitesNext Topic: Specify the Recovery Point


(Optional) Recover Data from the iSCSI Volume to the Target Machine

If you have stored your data in an iSCSI target volume, you can connect to the iSCSI volume and recover data. The iSCSI volume lets you manage data and transfer data over a network.

Verify that you have the latest release of the iSCSI-initiator software installed on your Backup Server. The initiator software on RHEL systems is packaged as iscsi-initiator-utils. The initiator software on SLES systems is packaged as open-iscsi.

Follow these steps:

  1. Log into the shell environment of the Backup Server.
  2. Run one of the following commands to start the iSCSI initiator daemon.
  3. Run a discovery script to discover the iSCSI target host.
    iscsiadm -m discovery -t sendtargets -p <ISCSI-SERVER-IP-ADDRESS>:<Port_Number>
    

    The default port value of iSCSI target host is 3260.

  4. Make a note of the iSCSI Qualified Name (IQN) of the iSCSI target host found by the discovery script before you manually log into the discovered target.
  5. List the available block device of the Backup Server.
    #fdisk -l
    
  6. Log in to the discovered target.
    iscsiadm -m node -T <iSCSI Target IQN name> -p <ISCSI-SERVER-IP-ADDRESS>:<Port_Number>  -l
    

    You can see a block device in the /dev directory of the Backup Server.

  7. Run the following command to obtain the new device name:
    #fdisk -l
    

    You can see an additional device named /dev/sd<x> on the Backup Server.

    For example, consider the name of the device is /dev/sdc. This device name is used to create a partition and a file system in the following steps.

  8. Mount the iSCSI volume using the following commands:
    # mkdir /iscsi
    
    # mount /dev/sdc1 /iscsi
    

    Note: When you specify the session location in the Restore Wizard, you need to select Local and enter the path /iscsi.

    Example: <path>/iscsi

  9. (Optional) Add the following record to the /etc/fstab file so that the iSCSI volume automatically connects with the Backup Server after you restart the server.
    /dev/sdc1 /iscsi ext3 _netdev 0 0
    

The Backup Server can now connect to the iSCSI volume and can recover data from the iSCSI volume.