Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Oct 23, 2024
1 parent 59ef43e commit edf9d7b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions qmpbackup
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,16 @@ async def main():
tdir,
)
sys.exit(1)
if not lib.check_bitmap_uuid(device.bitmaps, uuid):
if (
not lib.check_bitmap_uuid(device.bitmaps, uuid)
and device.format != "raw"
):
log.error("Unable to find any bitmap with uuid: [%s]", uuid)
sys.exit(1)
if not lib.check_bitmap_state(device.node, device.bitmaps):
if (
not lib.check_bitmap_state(device.node, device.bitmaps)
and device.format != "raw"
):
log.error(
"Bitmap for device [%s:%s] is not in state ready for backup.",
device.node,
Expand Down

0 comments on commit edf9d7b

Please sign in to comment.