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
How to restore File from Snapshot which is present in sub directories?
2022-01-14
01:24 AM
1,666 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mates,
I could could restore single file from snapshot which was present in the parent directory of volume, but when I am trying to restore file which is inside directories I am not able to restore it, getting error that either file or snapshot not available.
so
So from snapshot
/file1 -I could restore
/dir1/dir2/file2 - I could not restore
Please correct syntax if any.
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you share with us:
1) Error you are receiving?
2) Full cmd Syntax ?
Example:
::> volume snapshot restore-file -vserver svm_smb -volume vol_smbcifs -snapshot snap.2022-01-14_102047 -path /folder1/folder2/test.txt
Note: In the Example, make sure it is test.txt and not just test.
Restoring from client side:
https://docs.netapp.com/us-en/ontap/data-protection/snapshot-copies-work-concept.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Most likely you just gave the file name (not extension *.txt)
