You can perform a restore from the backup copy by setting the appropriate copy precedence number.
Before you start the restore, make sure that the PostgreSQL server is offline. Delete or rename the data directory, user tablespace directory, archive log directory and transaction log directory that is outside the data directory.
Procedure
-
From the CommCell Browser, navigate to <Client> | PostgreSQL | <Instance>.
-
Right-click the FSBasedBackupSet, and then click All Tasks | Browse and Restore.
-
Click View Content.
-
From the Browse window, select FSBasedBackupSet and click Recover All Selected.
-
From the PostgreSQL Database Restore Options dialog box, click Advanced.
-
Click the Copy Precedence tab and select the Restore from Copy Precedence check box.
-
In the Copy Precedence box, type the copy precedence number for the backup copy.
-
Click OK.
-
Click OK in the PostgreSQL Database Restore Options dialog box.