Restoring Latest State
To restore the latest state of a PostgreSQL instance, do the following:
- In the navigation pane, select a PostgreSQL instance you want to restore.
- In the upper part of the preview pane, select Restore Instance > Restore latest state to <original_location>.
Alternatively, you can right-click an instance and select Restore Instance > Restore latest state to <original_location>.
Note |
|
The name of the restore option depends on the selected restore point.
|
If the data directory of the instance is not empty, the Confirm Overwrite window opens. Click Overwrite to overwrite the existing data.
After the operation starts, you can track and manage it on the Database recovery sessions page. For details, see Managing Database Recovery Sessions.
Specifying Credentials
The Specify PostgreSQL Server Credentials window opens for a Windows-based server. For a Linux-based server, it opens only if the credentials stored in the backup are not valid.
Windows-Based Server
For a Windows-based server, in the Username and Password fields, enter the credentials of an account that is a member of the local Administrators group on the server, and click Restore.

Linux-Based Server
For a Linux-based server, do the following in the Specify PostgreSQL Server Credentials window:
- In the Username and Password fields, specify the credentials of a Linux account to connect to the server.
- If you have specified a non-root account that does not have root privileges on the server, click Advanced Settings. In the Advanced Settings window, do the following:
- Select the Elevate account privileges automatically check box.
- To add the account to the sudoers file, select the Add account to the sudoers file check box. If you do not select this check box, you must add the account to the sudoers file manually.
- If the sudo command is not available or may fail on the server, select the Use "su" if "sudo" fails check box.
- In the Root password field, enter the password for the root account.
- Click OK.
- If a private key is required to connect to the server, select the Connect using a private key check box. In the Private key field, click Browse to select a file that contains the private key. In the Passphrase field, enter the passphrase used to decrypt the private key.


