ONTAP Discussions

how to present a CIFS shared folder from snapshot?

FelixZhou

i remember we can present a CIFS shared folder from snapshot but forgot how.

we have snapshots for all CIFS shares, sometime user lost a big folder want to get the access immediately but restore from snapshot does take some time. Is there any way to give user access from snapshot for dedicated files for folders?

thanks.

1 ACCEPTED SOLUTION

Ontapforrum

1) check if share-property 'showsnapshot' is enabled.
::> vserver cifs share properties show -vserver <vserver>

 

2) If not, Add it:
::>vserver cifs share properties add -share-name <share> -vserver <vserver> -share-properties showsnapshot


3) Browse by manually appending \~snapshot to the end of the share path
\\xxx.xxx.x.xx\share\~snapshot

 

https://docs.netapp.com/us-en/ontap/smb-admin/access-snapshot-directories-clients-smb2-concept.html


I guess, in addition to above - users should be able to simply click on the folder (go to previous versions) and read/copy the file they need it.

View solution in original post

1 REPLY 1

Ontapforrum

1) check if share-property 'showsnapshot' is enabled.
::> vserver cifs share properties show -vserver <vserver>

 

2) If not, Add it:
::>vserver cifs share properties add -share-name <share> -vserver <vserver> -share-properties showsnapshot


3) Browse by manually appending \~snapshot to the end of the share path
\\xxx.xxx.x.xx\share\~snapshot

 

https://docs.netapp.com/us-en/ontap/smb-admin/access-snapshot-directories-clients-smb2-concept.html


I guess, in addition to above - users should be able to simply click on the folder (go to previous versions) and read/copy the file they need it.

Public