Error during checkpoint removal #186
-
Hi, I am using virtnbdbackup version: 1.9.48 Something happened to my VM and I was getting this error:
After some research, I found that I could use virsh checkpoint-list to get the checkpoints of my VM. The issue was that virtnbd always failed to create a backup when this error occurred and was not able to create any new backup. No matter if I removed all the backups or not, this error always stopped me from creating new backups. I was able to fix this issue by using this command without needing to shut down my VM: i have found "virtnbdbackup.0" in the error log and in the "virsh checkpoint-list"
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
at some point it seems your checkpoint chain was broken or got inconsistent. Search for old discussions and issues for this issue. Most of the time this happens if vm is transferred to another host (see readme for transient evironments) or something else "strange" has happened like a third party utility removing checkpoints or something. The complete history of backups is required to tell at what point the problem started. "Something happened to my VM" is the cause for this, and something only can be analyzed with both libvirt/qemu logs and/or complete history of backup loggings. |
Beta Was this translation helpful? Give feedback.
i see, in this situation all kind of strange things can happen depending at what point the vitual machine is shutdown during the backup. If the shutdown happens during active data-transfer the backup will fail and subsequent backups with different modes like inc/diff will also fail as it detects a partial transferred backup in the target directory.
From your output its seen that the checkpoint was created on libvirt, but was not written to the qcow image, the reason is unclear for me but i really guess its the shutdown that came in between here. Now if virtnbdbackup attempts to re-create o…