r/linuxadmin • • Jul 23 '18

Schrodinger’s Backup

Post image
1.1k Upvotes

59 comments sorted by

View all comments

-4

u/mercenary_sysadmin Jul 23 '18

No longer actually true, if you use a modern filesystem with snapshots, per-block cryptographic integrity hashing, and replication.

me@source:~$ ssh me@target
me@target:~$ sudo zpool status backups
  pool: backups
 state: ONLINE
  scan: scrub repaired 0 in 82h1m with 0 errors on Wed Jul 11 10:25:01 2018
config:

	NAME                       STATE     READ WRITE CKSUM
	data                       ONLINE       0     0     0
	  mirror-0                 ONLINE       0     0     0
	    ata-WDC_WD40EFRX-$id1  ONLINE       0     0     0
	    ata-WDC_WD40EFRX-$id2  ONLINE       0     0     0

errors: No known data errors

Yep. It's all good.

7

u/crypticedge Jul 23 '18

I've had array backups that "checked out as all good" be in reality entirely unreadable.

If that's all you're doing to validate, you're playing with fire.