Backup integrity failure #257
Replies: 6 comments 2 replies
-
|
cant reproduce. Have you tried another storage to store your backups to? i suspect:
|
Beta Was this translation helpful? Give feedback.
-
|
unfortunately your screenshot of the log output doesn't include the checksum reported during backup. |
Beta Was this translation helpful? Give feedback.
-
|
I haven't run fsck on /opt yet. However, I have several cron job scripts in place that back up the disk as a secondary method (I simply use cp to copy the running disk to another directory) in case the virtnbdbackup fails. Additionally, I create a snapshot of the disk every day and remove older snapshots, keeping only 3 days' worth. "My script creates a lock file when virtnbdbackup is active, preventing another backup from starting." I found a file named sda.copy.data.chksum with the value 2074616923. At the time I created the backup, no snapshots were being removed or created. However, I can remove all my snapshots and test again if you think that might be the cause. What do you recommend I do next? |
Beta Was this translation helpful? Give feedback.
-
|
run fsck on your disk. I have no other users complaining about such situations and its not reproducible for me. |
Beta Was this translation helpful? Give feedback.
-
|
Good day! I also encountered this problem. With qcow2 disks I have correct checksum, but with raw disks I have checksum failure. Maybe because we store qcow2 and raw disks in different formats and metadata matters? |
Beta Was this translation helpful? Give feedback.
-
|
checksums for disks with --raw option included are not calculated properly the raw images are treated differently during backup, no metadata format is written. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am encountering an issue while creating backups. I have two physical servers, and on one of them, every time I create a backup and attempt to verify it, I get an error for an MD5 checksum mismatch. I have tried converting my QCOW2 image to RAW and then back to QCOW2, using qemu-img check -r all to repair the QCOW2 image, but the issue persists.
Most of the time, when I create a backup and verify it using the command virtnbdrestore -i -o verify, I get the mismatch error. Occasionally, the full backup verifies successfully, but when I create a new incremental backup, it fails. This problem does not occur on my other server; it is only present on this specific one.
I have tried creating backups on different disks to rule out disk issues. I also moved my VM disk to another disk and created a backup, but none of these attempts resolved the issue. My next step is to upgrade all my Ubuntu 22 packages via a full distribution upgrade or potentially reinstall the OS to see if that resolves the problem.
There are only two VMs on this server: one is a VOIP VM running Debian 10, and the other is a Windows Server. Both VMs have the qemu-guest-agent active.
My server OS is Ubuntu 22 with virtnbd version 2.21 and my libvirt version is 8.0.0.
There is an screenshot of the situation occur in my server.
Beta Was this translation helpful? Give feedback.
All reactions