You can browse and restore backed up data for an entire database or for individual databases.
Use FSBased backupset, to restore the entire database.
Use DumpBased backupset, to restore the individual databases.
Before You Begin
Verify that the PostgreSQL software version on the destination is the same version or higher than the software version.
For FSBased backup set, stop the PostgreSQL server and delete or rename the data directory, user tablespace directory, archive log directory and transaction log directory that is outside the data directory.
For DumpBased backup set, complete the following steps:
Roles and tablespaces to which the database or table belongs should preexist.
We connect to maintenance database to perform the restore operation. Hence, restore of maintenance database requires modifying the maintenance database in the Instance details page to another database that will not be a part of the restore job.
From the navigation pane, go to Protect > Databases.
The Instances page appears.
Click the instance that you want to restore.
The instance page appears.
In the Recovery points calendar, select FSBasedBackupSet or DumpBasedBackupSet.
Select a date from the calendar, and then click Restore.
The Backup content dialog box appears.
Note: Ensure that you have performed a successful backup on the selected date.
To select the content to restore, from the Restore from default copy box, select a copy to perform the restore operation.
Follow the steps for the type of restore operation you want to run:
To run an out-of-place restore operation, complete the following steps:
From the Destination Client list, select the destination host for the restore.
From the Destination instance list, select the destination instance for the restore.
Note: For FSBased backup set, it is assumed that the data directory path and tablespace location in the source and the destination clients are the same. If they are different, then redirect the data directory to a different path by performing a redirect restore operation.
For an in-place restore operation, the destination client and the destination instance remain the same as the source client and the source instance.