Enter the following command: snap restore [-f] [-t vol] volume_name [-s snapshot_name]
-f suppresses the warning message and the prompt for confirmation. This option is useful for scripts.
-t vol volume_name specifies the volume name to restore.
volume_name is the name of the volume to be restored. Enter the name only, not the complete path. You can enter only one volume name.
-s snapshot_name specifies the name of the Snapshot copy from which to restore the data. You can enter only one Snapshot copy name.
Example
snap restore -s payroll_lun_backup.2 -t /vol/payroll_lun
storage_system> WARNING! This will restore a volume from a snapshot into the active filesystem. If the volume already exists in the active filesystem, it will be overwritten with the contents from the snapshot.
Are you sure you want to do this? y
You have selected file /vol/payroll_lun, snapshot payroll_lun_backup.2
Proceed with restore? y
If you did not use the -f option, Data ONTAP displays a warning message and prompts you to confirm your decision to restore the volume.