# Restoring an SAP HANA Database to Disk

You can restore a specific backup job or multiple backup jobs at the same time directly to a location on a disk without the use of SAP HANA. These restores are also useful for troubleshooting network errors. The data from different backup jobs are passed to the client so that all the interleaved backup jobs are restored in parallel. You can restore the data backup and log backup associated with specific backup jobs, such as full, incremental, or archive log, in parallel streams. You can also submit multiple restore jobs from full and incremental backups.

Note

If the user has encrypted backups, then after restoring the data and logs to the disk location, they must ensure that the encryption root key is manually recovered before starting the DB recovery. For more information on how to recover root key, see FAQs - SAP HANA iDataAgent.

## Before You Begin

1. Verify that there is enough disk space for the backup pieces that are restored.

2. If you want to catalog the backup pieces after the restore, the SAP HANA user must have the correct permissions.

## 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. Select the Out of place option.

5. From the Restore type list, select Restore to disk.

6. From the Destination client list, select the server to restore to.

7. In the From time and To time boxes, specify the times you want to select the jobs from.

8. From the Job(s) list, select the backup jobs to restore to disk.

9. In the Destination folder box, specify where you want the backup pieces restored.

   If the destination is an NFS share, the hosting NFS server must have the "no_root_squash" option enabled.

10. To specify pre or post recovery scripts, do the following under Pre or Post options:

    1. Type the path to the script.

    2. To run a script as a specific user, move the Run as user toggle to the right and type the username and password.

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

12. Click Submit.

## Related Topic

Viewing and Editing Database Restore Schedule.

×

Loading...