Loading...

Restoring the SAP HANA Tenant Database

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

  1. Perform a full backup or perform an incremental backup. For more information, see Performing a SAP HANA Multitenant Database Container Backup
  2. If you need to restore a SYSTEMDB database and tenant databases, restore the system database.
  3. 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.
  4. 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.
  5. 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.

Procedure

  1. You can perform a restore on the instances or job details page.
    • Instances: From the navigation pane, click Solutions > DB Instances, in the column for the instance, click  Restore.
    • Database Details: From the navigation pane, click Solutions > DB Instances > instance, in the upper right, 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.

  2. From the Destination Client list, select the destination host to use for the restore.
  3. From the Destination instance list, select the destination instance to use for the restore.
  4. Choose the database recover option.
    • To recover the database, select Recover Database.
      • To recover to the latest backup job completion time, select Current time.
      • To recover to a point-in-time, select Point in Time, and type the date and time.
    • To recover only the data, select Recover data only.

      To use this option, you must perform the restore by using a full backup.

      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 .

      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.

      1. Select the backup to use for the restore:
      • To restore by specifying the backup prefix, in the Backup prefix box, type the backup prefix for the backup that you want to restore.
      • 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.
  5. To verify that all the backups required for the recovery operation are available, select the Check Access check box.
  6. To initialize the log area after the restore, select the Initialize log area check box.
  7. Click Submit.

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.

Last modified: 3/10/2018 8:02:07 PM