Table of ContentsLibraryView in Frames

Restoring to SnapVault from a local tape

In event of data loss on a SnapVault secondary storage volume that is also configured as a SnapMirror source, data that has been replicated to tape using SnapMirror can be restored to the SnapVault secondary storage volume with the snapmirror retrieve command.

Considerations

The snapmirror retrieve command restores only full volumes. If you specify a qtree path as the source or destination, SnapMirror returns an error message.

Steps

  1. On the SnapVault secondary storage system, use the vol restrict command to put the volume that you want to restore from tape into restricted state. See the System Administration Storage Management Guide for information about how to restrict a volume.
  2. Load the tape (made with the snapmirror store command) into the local tape device.
  3. Start the initialization by entering the following command on the SnapVault secondary storage system.snapmirror retrieve [-h] rest_volume tape_drive

    The -h option displays the headers of the source tapes but does not transfer data.

    rest_volume is the volume that you are restoring.

    tape_drive is a tape device or a comma-separated list of devices from which you are restoring the volume.

    SnapMirror starts transferring data from the tape. If data is stored on more than one tape, SnapMirror prompts you for the next tape.

  4. If Data ONTAP prompts you for another tape, add the next tape to the drive and restart the initialization by entering the following command:snapmirror use rest_volume tape_list

    rest_volume is the volume to which you are restoring.

    tape_list is the tape device from which you are restoring the volume.

  5. Repeat the previous step until SnapMirror finishes initializing the volume from the tape.
  6. If incremental updates to the baseline Snapshot data that you just restored exist on tape, insert that tape into the local tape drive of the SnapVault secondary storage system, and enter the following command:snapmirror update [options] [sv_secondary:]sv_volume

    options can be one or more of the following:

    • -k n sets the maximum transfer speed to n kilobytes per second. This option has the same effect as the kbs argument in the /etc/snapmirror.conf file.
    • -S [source_system:]source_volume specifies the source system and volume for the migration. source_volume is the volume you want to copy.

    sv_secondary is the name of the SnapVault secondary system that you want to restore to.

    sv_volume is the volume that you want to restore.

  7. After all tape-to-SnapVault retrieve and update operations are complete, use the snapmirror break command to turn the restored system volume back to writable state.snapmirror break /vol/volume_name/