Restoring to the Current Location (In Place)

You can restore a SAP HANA database to its current location (in place). Before the restore operation begins, the SAP HANA software stops the database. After the restore operation completes, the SAP HANA software restarts the database.

To recover only the data, perform the restore by using a full backup.

Before You Begin

If you want to restore the most recent backup data and log files, stop SAP HANA replication. If you do not stop SAP HANA replication, only the most recent data—and not the most recent log— is restored

Procedure

  1. From the navigation pane, go to Protect > Databases.

    The database overview page appears.

  2. Go to Instances tab.

    The instance table appears.

  3. In the row for the instance that you want to restore, click the action button action_button, and then select Restore.

    Alternatively, click the instance, then select a database from database list in the Recovery points tiles, and click Restore.

    The Restore options dialog box appears.

  4. On the In place tab, from the Destination database list, select the database to restore the data to.

  5. In the Number of streams box, enter the number of streams that are applicable for snapshot or backup copy restores.

  6. For Recover to, specify how to restore the instance:

    • Select the restore by specifying the most recent state, select Most recent state.

    • To recover the database to a point-in-time, select Point in time, and then select the date and time.

    • To restore by specifying the backup prefix, select Using backup prefix, and then enter a prefix to identify the backup.

      The Commvault Cloud software creates the backup prefix by pre-pending the job ID to the backup prefix. For example, if you enter COMPLETE_DATA_BACKUP, then the backup is named 4815976_COMPLETE_DATA_BACKUP. You do not need the catalog backup available with backint.

    • To restore by specifying the internal backup job ID, select Using internal backup id, and then enter the internal backup job ID.

      Note

      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.

  7. Under Advanced options, do the following:

    • To restore from a storage policy copy if backup gets corrupted, from the Restore from copy list, select the copy that you want to use.

    • Select a media agent from the Select MediaAgent box.

    • To restore SAP HANA catalog to a point in time, move the Restore catalog from time toggle key to the right, and then do the following:

      1. To restore to a point in time, select Point in time, and then enter the date and time.

      2. To restore relative to the system date, select Relative to sysdate, and then enter the number of days or hours relative to the system date.

    • To verify that all the backups that are 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 uses only the log backups for recovery.

  8. Under Pre or Post options, do the following:

    • In the Pre recovery command box, enter the name or path of the process to run before the restore. Alternately, select the file icon on the right side to select a physical client from the Physical client selection list.

    • In the Post recovery command box, enter the name or path of the process to run after the restore. Alternately, select the file icon on the right side to select a physical client from the Physical client selection list.

    • If you want to initiate the restore as user, move the Run as User toggle button to right.

      • In the User name box, enter a user name you want to run the restore with.
  9. To send a notification email when the restore job completes, select the When the job completes, notify me via email.

  10. You can configure a schedule to repeat this restore operation. To create a schedule, do the following:

    1. Click Schedule.

      The Add schedule dialog box appears.

    2. In the Name box, type a name for the schedule.

    3. Configure the Frequency and Repeat parameters.

    4. To specify exceptions to the schedule, click Exceptions.

      The Exceptions dialog box appears.

    5. Configure the exception parameters:

      • You can click Add Exception to save a set of exception parameters and continue adding sets of exception parameters.

      • Click Save when you have finished configuring the exception parameters.

    6. To save the schedule and return to the restore dialog box, click Schedule.

  11. Click Submit.

Viewing and Editing Database Restore Schedule

Loading...