So perhaps qemu-img isn't the best way to do this.I was hoping I could write a 
bash script or something to take a snapshot. Is that possible, or is there a 
better way?
I was looking at https://github.com/wefixit-AT/oVirtBackup tonight, but haven't 
been able to get it to work as of yet.
When I run it, it recognizes the backup storage domain, says that it has 
started taking a snapshot, but then immediately says the snapshot was created 
(at which point everything else fails):
2022-05-05 21:05:35,453: Start backup for: my-vm-name.example.com2022-05-05 
21:05:35,554: The storage domain SpinningData is in state active2022-05-05 
21:05:35,732: Snapshot creation started ...2022-05-05 21:05:35,732: Snapshot 
created2022-05-05 21:05:40,773: !!! No snapshot found !!!2022-05-05 
21:05:40,773: All backups done2022-05-05 21:05:40,773: Backup failured 
for:2022-05-05 21:05:40,773:   my-vm-name.example.com2022-05-05 21:05:40,773: 
Some errors occured during the backup, please check the log file

The README says something about the python-sdk. How do I install that? I don't 
see that anywhere. 
[root@phys1 oVirtBackup-master]# yum info ovirt-engine-sdk-pythonUpdating 
Subscription Management repositories.Last metadata expiration check: 1:14:19 
ago on Thu 05 May 2022 07:58:16 PM EDT.Error: No matching Packages to 
list[root@phys1 oVirtBackup-master]# yum whatprovides 
ovirt-engine-sdk-pythonUpdating Subscription Management repositories.Last 
metadata expiration check: 1:14:31 ago on Thu 05 May 2022 07:58:16 PM 
EDT.Error: No Matches found

Is there a better way to run automated backups than this approach and/or using 
qemu-img?

Sent with ProtonMail secure email.
------- Original Message -------
On Wednesday, May 4th, 2022 at 1:27 PM, David White via Users <users@ovirt.org> 
wrote:


> I've recently been working with the qemu-img commands for some work that has 
> nothing to do with oVirt or anything inside an oVirt environment.
> But learning and using these commands have given me an idea for automating 
> backups.
> I believe that the following is true, but to confirm, would the qemu-img 
> commands be available on the oVirt hosts to take VM snapshots and disk images?
> 

> Sent with ProtonMail secure email.

Attachment: publickey - dmwhite823@protonmail.com - 0x320CD582.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EKMA4KN6IU7KXJAS4GWSAIO2YCRK2CFL/

Reply via email to