Restore a volume from tape devices
This command performs restore of a backup image created using the command system smtape backup in the specified tape device to a destination volume path. A new unique session ID is assigned for this operation; the status of the session can be monitored using the command system smtape status. It is required that the volume and tape device reside in the same cluster node. The volume must be of type DP (Data Protection) and should be placed in the restricted mode prior to a restore.
Any existing data on the volume will get overwritten upon a restore. The volume will remain as read-only and of type DP after the restore. You can use the command system smtape break to get read/write permissions on the volume. Restore can be done to a non-root DP volume.
The following example will start the restore to a volume datavol from a tape rst0a. The volume datavol is in a Vserver vserver0. Both vserver0 and rst0a reside on the same node cluster1-01.
cluster1::> system smtape restore -vserver vserver0 -volume datavol -tape /cluster1-01/rst0a -tape-block-size 256 Session 2 created successfully
The following example will start the restore to a volume datavol from a tape rst0a. The volume datavol is in a Vserver vserver0. Both vserver0 and rst0a reside on the same node cluster1-01. The default tape record size of 240KB was used during backup.
cluster1::> system smtape restore -vserver vserver0 -volume datavol -tape /cluster1-01/rst0a Session 5 created successfully