Restoring a Google Cloud PostgreSQL Instance to a Different Location (Out-of-Place)

You can restore an Google Cloud PostgreSQL database 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 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. 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 option.

  7. Under Restore type, select Cross Instance restore.

  8. From the Destination Client list, select the destination server for the restore.

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

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

  11. Under Advanced options section, perform the following actions:

    • Under the 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.

    • Under the Data path, do the following:

      • From the Server name drop-down list, select a media agent server name.
  12. To send a notification email when the restore job completes, select the Notify user on job completion.

  13. Click Submit.

Page contents

×

Loading...