Backup design and restore verification
Distinguish four protection properties
High availability reduces interruption through redundancy and service continuity. Durability concerns preservation of stored data over time. A backup provides a recoverable historical copy; recovery is the process of returning usable service and data. Replication can preserve availability while replicating an unwanted change. A backup may be durable yet too slow to restore. Define the failure scenario for each control: hardware failure, accidental corruption, credential compromise or regional disruption.
Protect recoverable copies
Design multiple copies across independent failure domains, including a copy protected against modification through offline separation or enforced immutability. Offline means disconnected from routine access; immutable means protected from modification or deletion under defined retention controls. Neither property automatically proves integrity or recoverability. Encrypt sensitive backups, restrict backup administration separately from production, and retain authorized access to recovery keys. Test retention and recovery access without relying on a compromised identity plane.
Verify bytes and business meaning
Compare restored bytes against a protected expected SHA-256 digest. In the lab, the original text contains two order records; copy it to a new temporary directory and hash the copy with Python hashlib. A digest match supports byte integrity relative to that expected digest. It does not show the source was trustworthy, the data current or the application consistent. Parse the restored CSV, verify unique IDs and reconcile expected totals. Record the expected manifest source, restore point, tool and results.
Recover into a trusted environment
After a suspected compromise, select a recovery point with incident-response evidence and restore into a separately controlled environment. Verify trusted images, software versions, dependencies and configuration; review credentials and access before accepting service. A backup created after compromise can contain unwanted changes even if its hash matches. Obtain approval before reconnecting anything to production. Retain the original evidence and recovery records. A restoration test should include access to decryption material and application-level validation, not just a successful backup-job message.
Practice: inspect three restored copies
The lab includes a valid CSV, an altered CSV and a malformed CSV, all invented. Compare their hashes with the expected digest, then separately validate the record format and total. Copy each only into a fresh temporary directory. Do not overwrite or delete any original file. Explain why a correctly hashed malformed source is still unacceptable, and why an isolated successful exercise cannot prove that production recovery will work.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Backup design and restore verification — knowledge check
Review dependencies, recovery objectives, restoration evidence and crisis decisions.
Why is replication not a historical backup by itself?
A restored digest matches a protected expected digest. What follows?
What distinguishes offline from immutable copies?
What should be tested beyond file hashes?
What is appropriate after suspected compromise?