Skip to content

Backup fails after a restore #48

Answered by abbbi
mrickl asked this question in Q&A / Support
Discussion options

You must be logged in to vote

Restoring a virtual machine will create a new qcow image. The bitmap information is saved in two places:

  1. libvirt saves checkpoint information
  2. the qcow images include the dirty bitmap tied to the checkpoint.

If you have restored the virtual machine disk, there are no bitmaps existant in the restored qcow image.
You have to create a new full backup chain, but virtnbdbackup will fail to remove the checkpoints because
of the missing bitmap.

To cleanup the situation remove the existing checkpoints from libvirt using:

virsh checkpoint-list [..]
virsh checkpoint-delete [..]

if virsh checkpoint-delete fails because it is missing the bitmaps (likely), remove the checkpoint metadata only using
the

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by abbbi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants