# 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 Command Center 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 , 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 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. You must consider the following cases while selecting this option:

     1. Select this option for point-in-time restore operation when the selected time is within the last transaction log backup job. It helps to avoid any restore conflicts due to the transactions present in log area which are yet to be backed up.

     2. Select this option when the log area is damaged.

     3. Do not select this option during point-in-time restore operation when the selected time is beyond the transaction log already backed up or the restore state is specified as the Most recent state. In this case, the transactions present in the log area may get applied during restore.

   - 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. Select the Notify user on job completion checkbox to send a notification email when the restore job is completed.

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. Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.

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

11. Click Submit.

## Related Topic

Viewing and Editing Database Restore Schedule.

×

Loading...