For larger files, the malware generates four of these codes. But due to a programming error, it keeps overwriting each new code with the previous one in the same slot, like writing four different combinations on a single sticky note and keeping only the last one. By the time it’s done, three of the four codes are gone forever. The scrambled data they correspond to is permanently unreadable for the victim, security researchers, and the attackers themselves.



It isn’t that key - most backups do work. Backup program creators test that everything works. and there are consultants who can help restore - for a price - in an emergency.
However if you want to restore fast you better have tested the process recently - all the staff needs to have experience in what to do.
If you want to be 100% sure you got everything backed up you need to do a real test as well. That means you regularly tell everyone no working this weekend, leave your computer behind - when you return it will be wiped to factory and restored from backup. I don’t think anyone does this.