[ovirt-users] Restoring backed up VM

Elad Ben Aharon ebenahar at redhat.com
Tue Oct 7 06:08:42 UTC 2014


If you still have the backed up VM in your system, the create from configuration operation should be blocked as you've encountered.
Allon, what does the create VM from configuration checks? The existence of the VM name or the existence of its ID? 

----- Original Message -----
From: "santosh" <sbahir at commvault.com>
To: users at ovirt.org
Sent: Monday, 6 October, 2014 4:28:06 AM
Subject: [ovirt-users] Restoring backed up VM

Hi 

I am trying to backup and restore the VM using the flow suggester at Features/Backup-Restore API Integration 

When I tried to restore the VM using the following steps, 


Full Virtual Machine Restoration 


    1. Create disks for restore 
    2. Attach the disks for restore to the virtual appliance (Restore the data to it) 
    3. Detach the disks from the virtual appliance. 
    4. Create a vm using the configuration that was saved as part of the backup flow - (added capabillity to oVirt as part of the Backup API) 
    5. Attach the restored disks to the created vm. 

I encountered following error at step 4. 



<fault> 
<reason>Operation Failed</reason> 
<detail>[Import VM failed - VM Id already exist in the system . Please remove the VM (RHEL_65_CL1_CLONE2) from the system first]</detail> 
</fault> 

I have not deleted/removed the backed up VM from the system. 

Is it expected behaviour? 
Should it not overwrite the existing VM or Create new VM with different VM Id, if the backup up VM exists? 


Thanks, Santosh 
***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
********************************************************************** 

_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list