Basisintermediate

SAP Database Administration Basics (Backup, Recovery, HANA Admin)

Core DBA responsibilities in an SAP context: backup strategy, recovery scenarios, and HANA-specific administration tasks.

Even in organizations with a dedicated DBA team, SAP Basis administrators are expected to understand database administration fundamentals because the two roles are deeply intertwined in SAP operations - a failed backup or a mismanaged HANA memory configuration becomes a Basis incident just as much as a DBA one, and interviewers use this topic to probe operational maturity beyond pure ABAP/config knowledge.

Full and log backups are like saving a complete document plus a change-tracking log of every keystroke since - point-in-time recovery lets you rewind to exactly 2:47pm before the accidental delete, rather than only being able to restore to last night's save. HANA System Replication is like a live mirror of your screen on a backup laptop, ready to take over in seconds rather than reloading from a saved file.

Key Concepts

1
Backup strategy for any SAP database follows the classic full/incremental/differential/log backup pattern, but the specifics matter: full database backups establish a complete recoverable baseline, and transaction log backups (critical and frequent - often every 15-30 minutes in production) allow point-in-time recovery to any moment, not just to the last full backup. On HANA specifically, backups are managed via DBACOCKPIT or HANA Cockpit/Studio, with data backups, log backups, and optionally storage snapshots (leveraging underlying storage-layer snapshot capability for very fast backup/restore at large data volumes).
DBACOCKPIT
2
Recovery scenarios a Basis admin should be able to describe include point-in-time recovery (restore to a specific timestamp before a data corruption event, using full backup plus subsequent log backups replayed up to that point) and disaster recovery via System Replication (HANA System Replication - HSR - continuously ships log changes to a standby system at another site, enabling fast failover with minimal data loss, contrasted against traditional backup/restore which has a much longer recovery time objective).
3
HANA-specific administration adds its own vocabulary: the column store versus row store distinction (column store is default and optimized for analytical/aggregation workloads; row store is reserved for specific system/metadata tables), memory management (HANA is an in-memory database, so monitoring used versus allocated memory and understanding the column store's compression behavior is central to sizing), and delta merge (new/changed rows land in an uncompressed delta store for fast writes, periodically merged into the compressed main store for read efficiency) - a mechanism worth mentioning since delta merge timing and frequency directly affects both write performance and query performance on very active tables.