ONTAP Discussions

Snap Restore for Folders

NETAPPNSD
8,958 Views

Our company recently adopted the NetApp filer and I am creating DR documentation. I have been able to understand everything about snap restore except the -t file option. We have a CIFS setup and I am able to restore a complete volume or a single file but I can not restore a single folder. I keep getting an "inappropriate file type or format" error. I just want to know if restoring a folder is possible using the snap restore command. The command I am using is below for Data OnTap 8.2.1.RC1.

snap restore -t file -s nightly.2 /vol/maps/region3/folder1

1 ACCEPTED SOLUTION

ekashpureff
8,958 Views

Glenn -

Snap restore is by volume or file.

To restore a directory you could clone the volume from a snapshot, and then copy the directory back from the clone.

I hope this response has been helpful to you.

At your service,

Eugene E. Kashpureff

Independent NetApp Consultant, K&H Research http://www.linkedin.com/in/eugenekashpureff

Senior NetApp Instructor, Unitek Education http://www.unitek.com/training/netapp/

(P.S. I appreciate points for helpful or correct answers.)

View solution in original post

3 REPLIES 3

ekashpureff
8,959 Views

Glenn -

Snap restore is by volume or file.

To restore a directory you could clone the volume from a snapshot, and then copy the directory back from the clone.

I hope this response has been helpful to you.

At your service,

Eugene E. Kashpureff

Independent NetApp Consultant, K&H Research http://www.linkedin.com/in/eugenekashpureff

Senior NetApp Instructor, Unitek Education http://www.unitek.com/training/netapp/

(P.S. I appreciate points for helpful or correct answers.)

NETAPPNSD
8,958 Views

Eugene,

     Thanks for the confirmation. That was my suspicion when the documentation mentioned restoring files and folders but the syntax only supported files or volumes.

KAMALPREET1985
7,631 Views

use ndmpcopy from snapshots

 

enable ndmp then "ndmpcopy /vol/volname/.snapshot/snapshotname/path  /vol/volname/targetpath"

Public