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 6b3c94c commit 04dede4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libqmpbackup/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ def save_info(backupdir, blockdev):
for dev in blockdev:
infofile = os.path.join(backupdir, f"{os.path.basename(dev.filename)}.config")

if dev.driver == "rbd":
log.info("Skip saving image information for RBD device: [%s]", dev.filename)
continue

info = get_info(dev.filename)
try:
with open(infofile, "wb+") as info_file:
Expand Down

0 comments on commit 04dede4

Please sign in to comment.