Bug 1608452
Summary: | StreamingAPI - Download snapshot disk for backup purpose using REST API, when VM has already user created snapshots | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Ketan <ketan.pachpande> |
Component: | RestAPI | Assignee: | Tal Nisan <tnisan> |
Status: | CLOSED DUPLICATE | QA Contact: | meital avital <mavital> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.2.4.5 | CC: | abhay.marode, bugs, derez, ketan.pachpande, michal.skrivanek, nsoffer, pchavva, ylavi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-08-05 15:38:19 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1609341, 1694070 |
Description
Ketan
2018-07-25 14:47:54 UTC
If you do not need individual snapshots, how is it different from simple download of whole VM, e.g. by simple https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/export_vm_as_ova.py? You can also merge all the snapshot to the base using qemu-img. (In reply to Yaniv Lavi from comment #2) > You can also merge all the snapshot to the base using qemu-img. Thanks Yaniv, But for that, eventually we have to download all snapshot disks to our backup appliance and then use qemu-img. This will increase the size of download than actual size of base image. (In reply to Ketan from comment #3) > (In reply to Yaniv Lavi from comment #2) > > You can also merge all the snapshot to the base using qemu-img. > > Thanks Yaniv, > But for that, eventually we have to download all snapshot disks to our > backup appliance and then use qemu-img. This will increase the size of > download than actual size of base image. Also, we will need to first stage everything on backup appliance then take backup of merged disk. But, if we get direct download stream (of view of all merged snapshots), then we can directly pass it to our backup stream. This will not need any staging to be done on our side. comment #1 then? (In reply to Michal Skrivanek from comment #5) > comment #1 then? We don't want to stage the data on machine and then send to tape. In enterprises, data disks can be huge and staging storage will not be practical for us when we backup data everyday. It will be good if we ask data on certain extent of snapshot disk and oVirt retrieves the data by traversing the snapshot chain. Hi Ketan, Do you mean that you'd like to download an entire disk starting from snapshot n and downwards? (i.e. collapse all snapshots to one starting from the n snapshot to the base one) Yes exactly. We will be address this request as part of BZ #1217820. For now I recommend keeping a reference of last backup snapshot as reference point and download the rest of the chain. For marges of snapshots, please use qemu-img post the backup process. *** This bug has been marked as a duplicate of bug 1217820 *** |