Data Recovery
The process of restoring lost, corrupted, or inaccessible data from backups or other sources.
- Full baseline backup: A complete copy of every data file, kept off‑site so the entire database can be rebuilt after a catastrophic loss.
- Incremental / differential backup: Smaller jobs that capture only data blocks changed since the previous backup, reducing storage and network load while still allowing a full restore.
- Transaction log + point-in-time recovery: The DBMS replays the write-ahead log up to a chosen second, reversing accidental deletes or corruption without losing the day’s valid work.
- Real-time replication with automatic fail-over: Every committed change is streamed to a standby server that can take over instantly, keeping services online even if the primary site fails.
- RAID or similar hardware redundancy: Disks are mirrored or striped with parity so the system survives one (or more) drive failures without data loss or downtime.
- Documented disaster-recovery / business-continuity plan: Step-by-step procedures, roles, and time-targets that guide staff in restoring data and critical services after fire, flood, or cyber-attack.
- Transaction log + point-in-time recovery
- A banking system processes thousands of transactions per second.
- If a software bug accidentally deletes today’s wire transfers, the DBMS can use its transaction log to roll forward all valid changes up to one second before the bug occurred.
- This allows the bank to recover without losing legitimate transactions that happened earlier in the day.
- Real-time replication with automatic fail-over
- E-commerce giants like Amazon use real-time replication to keep a standby database server synchronized with the primary.
- If the primary server in one region fails due to a power outage, the standby server in another region takes over immediately.
- Customers can continue browsing and checking out products with no visible interruption.
Social & ethical considerations 
- High reliability is expensive:
- Redundant hardware, off-site replication, and frequent log shipping raise infrastructure and energy costs.
- Yet organisations that hold mission-critical or sensitive personal data (medical records, payroll, student grades) have an ethical and often a legal duty to protect that information.
- Cutting corners to save money can lead to lost livelihoods, patient harm, or privacy breaches, undermining public trust.