You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backup tool adds --dry-run option or --dump-extents
Backup tool starts a backup
Backup tool dump extents using client.extents
Backup tool performs a backup or stop the backup
Possible solution
Support both URL ("https://...", "file:///filename") and filename ("filename") in the filename argument.
Parse the URL - should work for both filename and URL, if not normalize the filename to file: URL
Instead of _open_nbd, use _open_http for http url, or open_nbd for file: url.
This code can be used later by client.upload() to support upload from URL (qemu-nbd already supports this). More work is required for upload from URL like setting timeouts.
The text was updated successfully, but these errors were encountered:
nirs
added
the
enhancement
Enhancing the system by adding new feature or improving performance or reliability
label
Feb 11, 2023
ovirt_imageio.client.extents() works only with filename, reporting extents in local
files.
This would be useful for debugging backups using scripts like backup_vm.py:
https://github.com/oVirt/python-ovirt-engine-sdk4/blob/main/examples/backup_vm.py
Example flow:
Possible solution
This code can be used later by
client.upload()
to support upload from URL (qemu-nbd already supports this). More work is required for upload from URL like setting timeouts.The text was updated successfully, but these errors were encountered: