Ask The Experts

Restore Volume from Backup?

General

Why am I not able to restore a voplume from a snapshot to a destination?

 

sdnacl01::> volume snapshot show -vserver snapv_sdnacl01 -volume sdvm011_clone_B
---Blocks---
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
snapv_sdnacl01
sdvm011_clone_B
daily.2019-12-30_0010 443.7MB 0% 0%

 

sdnacl01::> volume snapshot restore-file -vserver snapv_sdnacl01 -volume sdvm011_clone_B -snapshot daily.2019-12-30_0010 -path /12302019

Error: command failed: Failed to restore file from Snapshot copy daily.2019-12-30_0010 for volume "sdvm011_clone_B" on Vserver "snapv_sdnacl01". Reason: File or snapshot does
not exist.

 

 

I also tried it here and the same error.

 

volume snapshot show -vserver snapv_sdnacl01 -volume sdvm011
---Blocks---
Vserver Volume Snapshot Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
snapv_sdnacl01
sdvm011
daily.2019-12-30_0010 94.94GB 1% 4%

 

 

sdnacl01::> volume snapshot restore-file -vserver snapv_sdnacl01 -volume sdvm011 -snapshot daily.2019-12-30_0010 -path /12302019

Error: command failed: Failed to restore file from Snapshot copy daily.2019-12-30_0010 for volume "sdvm011" on Vserver "snapv_sdnacl01". Reason: File or snapshot does not
exist.

6 REPLIES 6

Ontapforrum

Hi,

 
What is 12302019 ?
 
It's a file restore operation,so it must be identified by its extension.
 
Give it a extension and try again.
 
Example: -path 12302019.txt 
 
Thanks!

General

I will test that out.

Ontapforrum

Hi,

 

Long time, curious to know if you attempted restore ? Were you able to do it ?

 

Thanks!

General

No, I was not able to get it to work and I didn't understand the principal of restoring to a .txt file when you are trying to obtain a data file.

Ontapforrum

FYI: *txt was my example. It could be anything : B'cos you are using 'restore-file' in your command 🙂

General

So what should the file extension be if I want to restore and later mount to my VMware server to mount?

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.

NetApp Insights to Action
I2A Banner
Public