--- title: "Start-VEPSQLInstanceRestore" description: "Restores a backed-up PostgreSQL instance. Product: Veeam Backup & Replication Product Edition: Enterprise, Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet restores a backed-up PostgreSQL ins" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/start-vepsqlinstancerestore.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for PostgreSQL > Start-VEPSQLInstanceRestore" dateModified: "2026-08-18" --- # Start-VEPSQLInstanceRestore ## Short Description Restores a backed-up PostgreSQL instance. **Product**: Veeam Backup & Replication **Product Edition**: Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets:
RestoreWithWindowsCredentials
RestoreWithLinuxCredentials
RestoreWithGuestCredentials
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DataDirectory |
Specifies a path to the data directory for the restored PostgreSQL instance. The cmdlet will restore the specified instance to the specified data directory. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will replace the target PostgreSQL instance with the instance from the backup. Note: The cmdlet will show no prompt before executing the command. |
|
False |
Named |
False |
|
Instance |
Specifies a PostgreSQL instance that the cmdlet will restore. Accepts the |
True |
0 |
True (ByValue) |
|
|
LinuxCredentials |
For restore to a Linux machine. Specifies Linux credentials. The cmdlet will use these credentials to connect to the target PostgreSQL server. Accepts the |
True |
Named |
True (ByValue) |
|
|
Port |
Specifies the port to connect to the restored PostgreSQL instance. |
|
False |
Named |
False |
|
PostRestoreAction |
Specifies the action with the restored PostgreSQL instance.
Default: Promote |
|
False |
Named |
False |
|
ServerName |
For restore to another server. Specifies DNS name or IP address of the target PostgreSQL server. The cmdlet will restore a PostgreSQL instance to that server. |
|
False |
Named |
False |
|
SshPort |
Specifies the SSH port number. The cmdlet will use this port to connect to the Linux machine. Default: 22 |
|
False |
Named |
False |
|
Tablespace |
Specifies an array of tablespace names for the restored PostgreSQL instance. The cmdlet will restore tablespaces specified in this array. Note:
Accepts the |
False |
Named |
False |
|
|
TablespacePath |
Specifies an array of tablespace paths for the restored PostgreSQL instance. The cmdlet will restore PostgreSQL tablespaces to locations specified in this array. Note: This parameter must be used together with the |
|
False |
Named |
False |
|
ToPointInTimeUTC |
Specifies the point in time in the UTC format within a restore interval of the PostgreSQL instance. The cmdlet will restore the instance to the state of the specified point in time. If you do not use this parameter, the cmdlet will restore the instance to the point in time when the restore point for which you started the restore session was created. |
|
False |
1 |
False |
|
WindowsCredentials |
For restore to a Windows machine. Specifies Windows credentials. The cmdlet will use these credentials to connect to the target PostgreSQL server. Accepts the |
|
True |
Named |
True (ByValue) |