Restore to iscsi instead of local drive

andygee

Member
Aug 9, 2009
41
0
6
Sorry I'm still very basic in linux side. Can someone clarify for me how to restore one of the kvm's back to my iscsi disks instead of local?

vzdump --restore vzdump-777.tar 600 Should I just copy the tar to the container on iscsi and then run the vzdump?

Thanks,

Andy
 
Sorry I'm still very basic in linux side. Can someone clarify for me how to restore one of the kvm's back to my iscsi disks instead of local?

vzdump --restore vzdump-777.tar 600 Should I just copy the tar to the container on iscsi and then run the vzdump?

Thanks,

Andy

see 'man qmrestore' (qmrestore was introduced in 1.4).
 
qmrestore --storage openfiler /backup/vzdump-qemu-110.tgz 998


Ok I got it. One last question, when I put a id for example 998 and it doesn't complete, if I try to reuse that id it fails with a lock error. Is there something that I need to clear to be able to use the id again?

Andy
 
Last edited:
Ok I got it. One last question, when I put a id for example 998 and it doesn't complete, if I try to reuse that id it fails with a lock error. Is there something that I need to clear to be able to use the id again?

Sorry, I cant reproduce that error. So how can I reproduce it? What error message do you get exactly?
 
If there is a problem restoring to a id and I retry it that's when I receive the "trying to acquire lock". It appears to go away after some time but for me it was a couple of hours before it cleared.

Andy
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!