Backup Verification

A backup that has never been tested is a comforting story, not a backup.

What to verify

  1. Backups exist
  2. Backups are recent
  3. Backups are restorable

Check logs

Look for backup-related entries:

grep -i backup /var/log/messages | tail -50

If your backups log elsewhere, adjust accordingly.

Check backup destination

If backups are on a mounted disk or network share, confirm it is mounted:

mount | grep -E 'nfs|cifs|smb|sshfs'
df -h

At least occasionally:

Example approach:

sha256sum /path/original/file
sha256sum /path/restored/file

What to document

Write down: