On Wed, Mar 26, 2025 at 12:55:54PM +0100, Michael Ablassmeier wrote:
> I think im missing some action at step 7, to handle the bitmap correctly in
> order to be able to use it with a next incremental backup using a CBW filter.

for completeness, this is how i cleanup after the full backup:

 > blockdev-del node-name=snapshot-backup-source 
 > qom-set path=.. property=drive value=..
 > blockdev-del node-name=cbw
 > blockdev-del node-name=backup-target-file
 > blockdev-del node-name=fleecie

the steps for the incremental backup (setup the fleecing, etc) are similiar to
the full backup, with the difference that i attach the bitmap created before to
the cbw driver:

 > blockdev-add driver=copy-before-write node-name=cbw file=.. target=fleecie  
 > bitmap={"node":"drive-virtio0","name":"bitmap"}
 > qom-set path=.. property=drive value=cbw
 > blockdev-add driver=snapshot-access file=cbw node-name=snapshot-backup-source
 > blockdev-backup device=snapshot-backup-source target=backup-target-file 
 > sync=incremental bitmap=bitmap job-id=test

where blockdev-backup then fails via:

 > "Bitmap 'bitmap' could not be found"

looking at the query-block output, i can see that the cbw filter
beeing active and all bitmaps are set to disabled. How to keep
them?

bye,
        - michael

Reply via email to