Restoring a 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 topology as the source SID. You can restore to a database name that is different from the source database name.

If you want to recover only the data, then you must perform the restore by using a full backup.

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.

  2. Verify that the tenant databases that you want to restore already exist.

  3. If you need to restore a SYSTEMDB database and tenant databases, restore the system database.

  4. Verify that the restore environment has the same set of nodes and the instance as the backup environment. If you modify the configuration file in the backup environment, then make the same modifications in the restore environment before starting the recovery process.

  5. 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.

  6. 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. From the CommCell Browser, go to Client Computers > pseudo-client > SAP HANA > instance.

  2. Right-click the tenant database backup set, point to All Tasks, and then click Browse and Restore.

    The Browse and Restore dialog box appears.

  3. Select Latest Backup, and then click View Content.

  4. From the Browse window, select a tenant database in the right pane, and then click Recover All Selected.

    The Restore Options dialog box appears.

  5. On the General tab, select the destination client and instance:

    1. From the Destination Client list, select the client that you want to restore to.

    2. From the Destination Instance list, select the instance that you want to restore to.

    3. If you want to restore the tenant database to a different tenant database name than the source, then from the Database Name list, select the new tenant database.

  6. On the General tab, select the type of restore that you want to perform:

    Recover the database to the most recent state
    1. Select Recover Database To.

    2. Select Most Recent State.

    Recover to a point-in-time
    1. Select Recover Database To.

    2. Select Point In Time.

    3. Select the date and time.

      Note: If the time zone is different on the CommServe computer and client, in the Time Zone box, select the client computer time zone.

    Recover only the data

    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 and the Commvault software displays the value on the Job Details dialog box.

    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, JOB_ID_SNAP.

    1. Select Recover data only.

    2. 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.

        You can view the backup prefix on the Job Details dialog box (General tab, Backup Prefix). For more information, see Viewing Details of a Job.

      • 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.

        You can view the SAP HANA internal backup job ID on the Job Details dialog box (General tab, Internal Backup ID). For more information, see Viewing Details of a Job.

  7. To verify that all the backups required for the recovery operation are available, select the Check Access check box.

  8. Select the Initialize log area check box.

    The software selects the check box when you choose Recover data only.

    Make sure that you select this check box when you choose Most Recent State or Point in Time.

  9. Select the Use Delta Backups check box.

    For information on the delta backup option, see SAP HANA Restore Options.

  10. Optional: Restore from a copy precedence.

    If the backup is corrupted, restore from a storage policy copy.

    For more information on modifying the copy precedence of a storage policy copy, see Copy Precedence.

    1. Click Advanced.

      The Advanced Restore Options dialog box appears.

    2. On the Copy Precedence tab, select the Restore from Copy Precedence number check box and enter a copy precedence number.

    3. Click OK to close the Advanced Restore Options dialog box.

  11. Click OK to close the Restore Options dialog box and start the restore.

What to Do Next

If you only restored the tenant database, after the restore the tenant database is in the Up state.

Loading...