Hi list,

I want to schedule a VM backup in ovirt 3.5. I read below URL.

http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_Backups

It gives an below example of VM backup


Example for VM Backup

  • Use existing VM Snapshot/Create a vm snapshot (example):
 URL = SERVER:PORT/api/vms/VM_ID/snapshots
 Method = POST
 (with Content-Type:application/xml header)
 Body =
 <snapshot>
 <description>Virtual Machine 1 - Snapshot For Backup</description>
 </snapshot>


But, How can I find the VM_ID of the VM that I want to backup?

How can I write this below format?
 URL = SERVER:PORT/api/vms/VM_ID/snapshots

MY Ovirt Engine manager is running on another PC. (let's say engine.example.com ) i can access it by typing https://engine.example.com/

is it https://engine.example.com/api/vms/VM_ID/snapshots ? I can't access it in firefox browser?

Should I write a script? is there any Youtube video or doc that makes me to understand this?

Hope to hear from you.







--
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala Fonts