Restoring Latest State

To restore the latest state of a PostgreSQL database, do the following:

  1. In the navigation pane, select a PostgreSQL database you want to restore.
  2. In the upper part of the preview pane, select Restore Database > Restore latest state to <original_location>.

Alternatively, you can right-click a database and select Restore Database > Restore latest state to <original_location>.

  1. In the window that opens, select the PostgreSQL account to use for authentication:
  • Select the Server credentials option to use the credentials of the Linux account that connects to the server.
  • Select the System user without password (peer) option to use peer authentication. In the Username field, specify the system user name. With peer authentication, no password is required.
  • Select the Database user with password option and in the Username and Password fields, specify the PostgreSQL user name and password.

Note

The name of the restore option depends on the selected restore point.

  • If you select the most recent available restore point, the option name is displayed as Restore latest state to <original_location>.
  • If you select any other restore point, the option name is displayed as Restore state of <point_in_time> to <original_location>.

Note that if a database with the same name exists on the server, you will be prompted to overwrite it.

After the operation starts, you can track and manage it on the Database recovery sessions page. For details, see Managing Database Recovery Sessions.

Restoring Latest State

Specifying Credentials

The Specify PostgreSQL Server Credentials window opens before the PostgreSQL account selection only if the credentials stored in the backup are not valid. In this window, do the following:

  1. In the Username and Password fields, specify the credentials of a Linux account to connect to the server.
  2. 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:
  1. Select the Elevate account privileges automatically check box.
  2. 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.
  3. If the sudo command is not available or may fail on the server, select the Use "su" if "sudo" fails check box.
  4. In the Root password field, enter the password for the root account.
  5. Click OK.

Specifying Advanced Settings

  1. 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.

Specifying Credentials

Page updated 2026-11-11

Page content applies to build 13.2.0.193