Ask The Experts

Restore Volume from Backup?

General
2,048 Views

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
2,013 Views

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
1,960 Views

I will test that out.

Ontapforrum
1,802 Views

Hi,

 

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

 

Thanks!

General
1,785 Views

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
1,779 Views

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

General
1,773 Views

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

Public