r/linuxadmin • • Jul 23 '18

Schrodinger’s Backup

Post image
1.1k Upvotes

59 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jul 23 '18

But if a backup is accurate, then how can a restore fail?

3

u/crypticedge Jul 23 '18

In a thousand different ways. A simple read error due to the wrong bad block had caused more failed backups than you'd ever realize, while still passing that checksum.

I've seen backups pass checksums and be unusable, and I've seen them fail checksums and be accurate all because the system running the check had a processor issue.

Checksums don't mean the backup is good, and if you treat it like it does, then you're in for a disaster and I hope someone more competent is running a second backup scheme behind you.

0

u/[deleted] Jul 23 '18

so how would you go about ensuring that the data you copied has been copied correctly? I highly doubt you can do much more than comparing the data.

4

u/crypticedge Jul 24 '18

Virtual boot test of image based backups. Manual periodic test restores