Restore a tenant database.
If you need to restore a SYSTEMDB database and tenant databases, perform the SYSTEMDB database restore first, and then restore the tenant databases.
You can restore to the same destination, or to the following new destinations:
An in-place restore
Restore to a different SID. The destination SID must have the same tenant database name and topology as the source SID.
Note: Do not run a tenant database restore when a SYSTEMDB database restore is in progress.
Before You Begin
Perform a full backup or perform an incremental backup. For more information, see Performing a SAP HANA Multitenant Database Container Backup
If you need to restore a SYSTEMDB database and tenant databases, restore the system database.
Verify that the restore environment has the same set of nodes and the instance SID name as the backup environment. In case of any configuration file modification in the backup environment, make the same modifications in the restore environment before starting the recovery process.
Verify that the SAP HANA software version that is used for restore is of the same version or later than the software version used during backup.
If you recover the data only, make sure that you have the backup prefix for the tenant database. If you use the SYSTEMDB database backup prefix, the restore fails.
You can perform a restore on the instances, database details, DbBackupset details, or job details page.
Instances: From the navigation pane, go to Protect > Databases > DB Instances. Select the instance, and then in the upper-right of the page click Restore.
Database Details: From the navigation pane, go to Protect > Databases > DB Instances > instance. In the Recovery points section, click Restore. In the Databases section, you can also select the database that you want to restore, and then, click Restore.
DbBackupset Details: From the navigation pane, go to Protect > Databases > DB Instances > instance > database. In the Recovery points section, click Restore.
Job details: From the navigation pane, click Jobs > job ID. Then, in the Job summary section, click Restore.
The Restore Options page appears.
To perform an in-place restore, in the Destination Database, select the database where you want to restore.
To perform an out-of-place restore, complete the following steps:
Click the Out of place tab.
In the Source database, select the source database from where you to restore.
From the Destination Server list, select the destination host to use for the restore.
From the Destination instance list, select the destination instance to use for the restore.
To restore from a snapshot backup, in the HANA data directory box, click Browse and select the HANA directory.
The full path where the destination instance resides. For example, if the SAP HANA SID path is hana/data/SID, then set the Destination Instance SAP HANA directory to: /hana/data.
Note: This is required for IntelliSnap cross instance and cross machine restores.
Choose the database recover option.
To recover the database to a point-in-time, click Up to, and then select the date and time.
To restore by specifying the backup prefix, in the Backup prefix box, type the backup prefix for the backup that you want to restore.
If you restore by specifying the backup prefix, then you do not have to have the catalog backup available with backint. The Commvault software creates the backup prefix by pre-pending the job ID to the backup prefix. For example, 4815976_COMPLETE_DATA_BACKUP.
To restore by specifying the internal backup job ID, in the Internal Backup ID box, type the internal backup job ID that you want to restore.
If you restore by specifying the internal backup job ID, then you must have the catalog backup available with backint. SAP HANA creates the internal backup ID .
To verify that all the backups required for the recovery operation are available, select the Check Access check box.
To initialize the log area after the restore, select the Initialize log area check box.
To recover using Delta backups, select the Use delta backups check box. If you do not use a delta backup for the recovery option, the software only uses the log backups for recovery.
To send a notification email when the restore job completes, select the When the job completes, notify me via email.
What to Do Next
You can control or view the job. For more information, see Jobs.
If you only restored the tenant database, after the restore the tenant database is in the Up state.