# Restoring a PostgreSQL Server to a Disk (Application-Free Restore)

You can browse and restore backed up data to a disk for an entire database or for individual databases.

For an IntelliSnap subclient or a block-level enabled subclient, you can restore only transaction logs to a disk. For a regular subclient, you can restore both data and logs to a disk based on the selected backup set.

## Before You Begin

- Perform a backup.

- Verify that the PostgreSQL software version on the destination is the same version or higher than the software version.

## Procedure

### FSBasedBackupSet Restore

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

   The database Overview page appears.

2. Go to Instances tab.

3. Click an instance.

   The instance overview page appears.

4. On the Backup sets tab, click FSBasedBackupSet.

   The FSBasedBackupSet overview page appears.

5. Click Backup history.

   The Job history page appears.

6. In the row for the job ID, click the action button, and then click Restore.

   The Backup content page appears.

7. Select the databases and click Restore.

   The Restore options dialog box appears.

8. Select Out of place.

9. In the Restore type box, select Restore to disk.

10. From the Destination client list, select the destination host for the restore.

11. Set the From time and To time to list the backup jobs available to restore.

12. To use a different account than the one configured for the PostgreSQL instance, move the Impersonate user toggle key to the right, and then enter the user name and password that have the necessary permissions to restore the application data.

13. To restore only the log files, select the Restore transaction logs only check box.

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

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

15. To send a notification email when the restore job completes, select the When the job completes, notify me via email.

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

17. Click Submit.

### DumpBasedBackupSet Restore

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

   The database Overview page appears.

2. Go to Instances tab.

3. Click an instance.

   The instance Overview page appears.

4. On the Backup sets tab, click DumpBasedBackupSet.

   The DumpBasedBackupSet overview page appears.

5. Click Backup history.

   The Job history page appears.

6. In the row for the job ID, click the action button, and then click Restore.

   The Backup content page appears.

7. Select the databases and click Restore.

   The Restore options dialog box appears.

8. Select Out of place.

9. In the Restore type box, select Restore to disk.

10. From the Destination client list, select the destination host for the restore.

11. Set the From time and To time to list the backup jobs available to restore.

12. To use a different account than the one configured for the PostgreSQL instance, move the Impersonate user toggle key to the right, and then enter the user name and password that have the necessary permissions to restore the application data.

13. In the Staging path box, enter the staging location on the client.

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

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

15. To send a notification email when the restore job completes, select the When the job completes, notify me via email.

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

17. Click Submit.

×

Loading...