# Restoring a Microsoft Azure Database for PostgreSQL Instance to a Different Location (Out-of-Place)

You can restore an Microsoft Azure Database for PostgreSQL database instance to a different location (out-of-place). The instance restore is performed from the DumpBased backup set.

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

## Procedure

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

2. On the database Overview page, go to the Instances tab.

3. Click the instance you want to restore, then in the Recovery points tile, click Restore.

   Alternatively, in the row for the instance, click the action button , and then click Restore.

4. On the Backup content page, do the following:

   1. Select the data.

      Note

      Ensure that you have performed a successful backup on the selected date.

   2. From the Database view list, select Database view.

   3. Click View selection, and then from the Selected items dialog box, select a correct view.

5. Click Restore.

   The Restore options dialog box appears.

6. Select Out of place.

7. From the Restore type list, select one of the following:

   - Cross Instance Restore

   - Restore to Disk

8. If you select Cross Instance Restore, do the following:

   1. From the Destination server list, select the destination server for the restore.

   2. From the Destination instance list, select the destination instance for the restore.

   3. In the Number of streams box, enter the number of data streams that you want to use for backups.

   4. In the Define auxiliary database for dump restores section, do the following:

      1. In the Destination database box, you can specify the auxiliary database to restore the logical dump. Enter a different database auxiliary name to isolate the restore operation.

9. If you select Restore to Disk, do the following:

   1. From the Destination client list, select the destination client for the restore.

   2. In the Staging path box, enter a temporary directory used during restore operations.

10. Under Advanced options, do the following:

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

       - In the Post recovery command box, enter the name or path of the process to run after the restore.

       - Select Run post restore process for all attempts to run post-restore process after each restore attempt.

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

    2. Under Data path, do the following:

       - Optional: From the Select MediaAgent list, enter a media agent server name.

11. Select the Notify user on job completion to send a notification email when the restore job completes.

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

13. Click Submit.

×

Loading...