ONTAP Discussions

Snap Restore for Folders

NETAPPNSD

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

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

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

NETAPPNSD

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

use ndmpcopy from snapshots

 

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

Public