[Users] I accidentally the whole database. Or: Can I re-import a running vm into the engine-db?
Jiri Belka
jbelka at redhat.com
Tue Jun 4 07:47:49 UTC 2013
On Tue, 4 Jun 2013 03:30:42 -0400 (EDT)
Omer Frenkel <ofrenkel at redhat.com> wrote:
>
> well im not sure if there is a tool that does it automatically,
> but you can try the following (never tried this before, but should work):
> on the host that run the vms:
> * run vdsClient 0 getAllVmStats (or vdsClient -s 0 getAllVmStats if you are using secure connection)
> * find in the result the vm id (first line) and the image id for each disk of the vms
> * find under /rhev/data-center/{dc-id}/mastersd/master/vms/{vm-d}/ the ovf file which contains the vm info
> * find the vm disk images on the storage domains
> * use ovirt-image-uploader to upload the vm to an export domain (you need to look how exactly to do this one.. :) )
> * import the vm.
UUIDs can be discovered from qemu-kvm process args too.
jbelka
More information about the Users
mailing list