By default, the software restores a database table to the same location from where it was backed up. You can also restore database tables to a different PostgreSQL instance.
You can perform a point-in-time restore, which is useful when you must recover the changes made to a database object up to a given point in time. You can select and restore the database object to a state that it had previous to that point.
Note
Do not use this method to restore a PostgreSQL Server. For instructions to perform a full instance restore, see Restoring a PostgreSQL Instance to the Same Host.
Procedure
-
From the CommCell Browser, expand Client Computers > Client > PostgreSQL > Instance.
-
Right-click FSBasedBackupSet, point to All Tasks, and then click Browse and Restore.
-
On the Browse and Restore Options dialog box, identify the data that you want to restore.
-
Select Table Level Browse, and then click View Content.
-
From the Browse window, select tables to restore.
Restriction: Do not select the maintenance database.
-
Click Recover All Selected.
The PostgreSQL Database Restore Options dialog box appears.
-
Select Restore in place, and then click Next.
-
Verify that the tables that you selected for restore appear in the User Select Objects For Restore list.
-
Optional: To restore the selected tables to a different instance on the same client, from the Destination Server list, select the name of the destination instance.
-
Optional: Under Table Import Options, select the following options to further configure your restore operation:
-
To delete existing tables from the destination database before the tables are restored and imported, select Drop Table for Import.
-
To restore tables without importing, select Skip Import. In the Staging Path for Logs and Dump Files box, type the path or click Browse to select the path where you want to export the tables.
-
-
Optional: On the Table Restore Options tab, select Point-in-time, and then set the restore date, time, and time zone to appropriate values.
Note
The latest backup cycle is selected by default. To perform a point-in-time restore from an earlier cycle, browse from the respective cycle.
-
Optional: Select Specify Destination Database for Table Import.
-
Next to the source database for which you want to specify a target database name, click the Target Database column and enter the target database name.
Note
This option is unavailable if you select the Skip Import check box.
-
Click OK.