Cloning of KVM

  • Thread starter Thread starter coffe
  • Start date Start date
C

coffe

Guest
HI,

Before i create my own script. there might be some one that done it before ?

I like to have a script that can take a vzdump, restore it with --unique and a unique ID, to shared storage , and set the name in both proxmox . and update the /etc/hosts and /etc/hostname on the target.

I did use to have a script to mount my kvm img .. but i lost it , maby someone knows how to do that ?

BR
Coffe
 
using kpartx .. one can mount the raw. then get access to the lvm on it.
But qmrestore cant find free ID, so is there any tool for that ?
And storage ID how to get them id ? i have been using names all the time.

BR
Coffe