HANA BACKUP AND RECOVERY

SAP HANA database is data in-memory.It uses persistent storage to provide a fallback in case of failure.During normal database operation, data is automatically saved from memory to disk at regular save points. All data changes are recorded in the redo log. The redo log is saved from memory to disk with each committed database transaction.Hana PersistenceAfter a power failure ,you can restart the database as with any disk-based database. It then returns to its last consistent state by replaying the redo log since the last save point. Although save points and log writing protect your data against power failures, save points do not help if the persistent storage itself is damaged. To protect against data loss because of disk failures, backups are required. Backups save the payload (the actual data) of the data area and log area to different locations. Unused space in the database is not backed up.The data backup includes all the data structures that are required to restore the database.This includes user data, information models, topology information, and the secure storage filesystem (SSFS). A data backup does not include customer-specific configuration.
BACKUPOverview Of BackUp&Recovery
Backups are performed while the database is running. The impact of backups on system
performance is negligible, and users can continue to work while the backup is running.
The data area is backed up in parallel for each of the SAP HANA services. If SAP HANA is
running on multiple hosts, a data backup includes all the service-specific backup parts for all the hosts.
While a data backup is running, some data integrity checks are performed. If these checks are successful, the data is written to the backup destination.
Data backups save the content of the data area to a different location in the file system.
Depending on the scenario, this includes the replicated business data from SAP ERP and all the modeling data.The properties of an SAP HANA system are defined in the parameters of its configuration files. These files are not backed up as part of the database backup. If you want to back up configuration files that contain customer-specific changes, you can do so manually. In a recovery situation, configuration files can help to identify and restore the customer specific changes. The configuration files are not essential to perform a recovery. If you want to use a customer-specific configuration, reconfigure the recovered system using the SAP HANA studio.

OverviewBACKUP TYPES:
  1. DATA BACKUP
  2. LOG BACKUP
Performing Backups
Backups are performed with the following considerations:
Backup destinations:

  1. Files
  2. Third-party backup toolsDestination For Backups
Data backups carried out manually:
  1. SAP HANA cockpit
  2. SAP HANA studio
  3. DBA Cockpit
  4. SQL commands (command line)
Scheduling:
  1. Backup scheduler in SAP HANA cockpit
  2. Planning calendar in DBA Cockpit
  3. Using scripts (via the SQL interface)
NOTE:
  • Data and logs can only be backed up when the SAP HANA database is online, and when all configured services are running.
  • Backup supports both files as backup media and BACKINT SDK for SAP HANA.
  • While backups and log backups are being created, the impact on system performance is negligible.
  • Only the database payload is backed up; unused space in the database is not backed up.
  • Backup and recovery always applies to the whole database. You cannot back up and recover individual database objects.
  • The content of a data backup is consistent at the start time of the backup.
  • Data backups and log backups are created independently of each other.
  • The configuration path for data and log backup must be valid throughout the whole system, and not only for specific hosts.
  • To recover the database, you need at least one data backup.
SAP Notes
– SAP Note 1642148: FAQ: SAP HANA database backup and recovery
– SAP Note 1730932: Using backup tools with BACKINT
– SAP Note 1812980: Changes to the backup catalog as of revision 45
– For further notes on backup and recovery, see BC-DB-HDB-BAC

Comments

Popular posts from this blog

SPOOL WORK PROCESS

ENQUEUE WORK PROCESS

DIALOG PROCESS