Ask The Experts

Highlighted

Restore Volume from Backup?

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
Highlighted

Re: Restore Volume from Backup?

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!
Highlighted

Re: Restore Volume from Backup?

I will test that out.

Highlighted

Re: Restore Volume from Backup?

Hi,

 

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

 

Thanks!

Highlighted

Re: Restore Volume from Backup?

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.

Highlighted

Re: Restore Volume from Backup?

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

Highlighted

Re: Restore Volume from Backup?

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

Check out the KB!
Knowledge Base
All Community Forums