Backup will not verify

Good day,

I have been attempting to backup my 4.2.4 QubesOS installation so that I can restore my backup to a 4.3 installation, but my backups have failed to validate. Whenever I try to validate a backup, I get the following error:

failed to decrypt (file path)/root.img.003.enc: b'scrypt: Input is not valid scrypt-encrypted block \n'

I am creating a backup on a drive that is connected to my machine through a sata cable. I have tried both compressed and uncompressed backups, both fail to validate. I tried validating an older backup I had and it did validate, so the validation itself works I assume.

I also took a look around at other similar issues, but none of them quite matched mine and they had solutions that did not work for me.

My best guesses regarding this issue is that:
A: I have too many qubes vms.
B: Encrypted backups are broken right now for some reason.
C: One or more qubes are causing the backup or validation to fail for some reason.

I am going to try backing up all the qubes that will not be included with a fresh Qubes installation, and then I will go from there. Maybe I will also try an unencrypted backup.

I would appreciate any advice. Thank you!

Device Specs:
CPU: Intel 12900K
GPU: 6800 xt

To test A and C, try to just backup one small qube.

I thought about that, I will have to test that after I finish my current test.
Thank you for the suggestion! @parulin

1 Like

Apparently the backup is corrupted, which usually means there’s a hardware problem - a bad backup drive or bad RAM. (There also was a rare CPU incompatibility that only affected certain AMD systems.)

If you try to verify the same backup file again, does it fail at the exact same path and file name?

2 Likes

Try breaking up the backup into multiple smaller ones so that no single backup is too large (in terms of GB, not number of qubes).

1 Like

This ended up being the issue.

On the next backup attempt I made, the backup froze partway for some reason. After I unmounted the drive, it just disappeared. Then, my computer refused to boot properly until I physically removed said drive.

I have since backed up to a different drive, and the validation worked perfectly.

Thank you everyone for the support!

Also @rustybird was entirely right, I just did not see the post until after I figured it out.

1 Like