For an initial, baseline transfer for a SnapMirror
relationship, you might want to do the transfer using a tape. After copying the base data to the tape, you need to copy the data from the tape to the intended destination, and initialize the destination.
Steps
- Create a volume on the SnapMirror destination system. For information
about how to create a volume,
see the System Administration Storage Management Guide.
- Put the volume in the restricted state. For information about how to restrict a volume,
see the System Administration Storage Management Guide.
- Load the tape (made with snapmirror store) into the destination system’s local tape device.
- Start the initialization by entering the following command on the destination system.
snapmirror retrieve dest_volume tape_drive
dest_volume is the volume that you are initializing.
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.
- 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 volume tape_list
volume is the volume to which you are restoring.
tape_list is the tape device from which you are restoring the volume.
- Repeat the previous step until SnapMirror finishes initializing the volume from the tape.
- If you need to, you can update the data online manually with the following command:
snapmirror update [-k n] -S source_system:source_volume [dest_system:]dest_volume
-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.
dest_system is the name of the destination system.
dest_volume is the destination volume.
Note: Alternatively, you can update the baseline transfer automatically with the schedule you set in the /etc/snapmirror.conf file.