Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.)
3 REPLIES 3
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
use ndmpcopy from snapshots
enable ndmp then "ndmpcopy /vol/volname/.snapshot/snapshotname/path /vol/volname/targetpath"
