Backup & Recovery Architecture: Types, Catalog & Point-in-Time Recovery (PITR)
A definitive operational handbook for SAP HANA backup and recovery, covering Complete Data Backups, Differential/Incremental backups, automatic Redo Log archiving, Backup Catalog integrity, Storage Snapshots, and Point-in-Time Recovery (PITR).
Core Learning Objectives
- 1.Master the 4 backup types: Full Data, Differential, Incremental, and Redo Log backups.
- 2.Understand how automated redo log archiving manages log segments (Writing, Closed, Backed Up, Free).
- 3.Explain Backup Catalog architecture and catalog housekeeping.
- 4.Execute a production-grade Point-in-Time Recovery (PITR) of a tenant database from SystemDB.
- 5.Understand SAP HANA Storage Snapshots and third-party Backint integration.
Definition & Architectural Rationale
Technical Definition:
Backup and recovery in SAP HANA provides the mathematical foundation for achieving near-zero Recovery Point Objective (RPO) and minimal Recovery Time Objective (RTO) through complete data backups combined with continuous automated redo log shipping and replay.
Why this component exists:
Hardware failures, storage array corruption, ransomware, accidental user drops (e.g. DROP TABLE), and logical data corruptions require the ability to restore the database to an exact past second prior to the incident.
Internal Working & Mechanics
Architecture Flow Diagram
Production SQL Diagnostics
Triggers a full baseline data backup of the current database to a designated filesystem destination.
Restores a tenant database to a specific UTC timestamp using full data backup and sequential log backups.
Troubleshooting & Root Cause Analysis
Production Best Practices & Operational Risks
Mandatory Best Practices
- Never store database backups on the same physical disks as /hana/data or /hana/log; use dedicated NFS mounts, SAN LUNs, or Backint tools.
- Regularly validate point-in-time recovery on a sandbox or quality instance to test recovery duration and RTO assumptions.
- Always keep log_backup_timeout_s set between 900s (15m) and 1800s (30m) to guarantee maximum 15-minute data loss exposure (RPO).