Set-VBOPSQLDatabaseServerLimits
Short Description
Modifies settings of the PostgreSQL instance.
Syntax
This cmdlet provides parameter sets that allow you to:
- Modify settings of the PostgreSQL instance automatically.
Set-VBOPSQLDatabaseServerLimits [-DumpToFile <String>] [<CommonParameters>] |
- Modify settings of the PostgreSQL instance manually.
Set-VBOPSQLDatabaseServerLimits -OSType <String> -CPUCount <Int32> -RamGb <Int32> [-DumpToFile <String>] [<CommonParameters>] |
Detailed Description
This cmdlet allows you to modify settings for the PostgreSQL instance. Use this cmdlet to extend hardware resources of the PostgreSQL instance where the Veeam Backup for Microsoft 365 configuration database is located.
Depending on your configuration, you can use the following parameter sets:
- Automatic modification. Use this parameter set if you installed the PostgreSQL instance and the Veeam Backup for Microsoft 365 server on the same machine, and the PostgreSQL instance is used as the Veeam Backup for Microsoft 365 configuration database.
- Manual modification. Use this parameter set in the following cases:
- If the PostgreSQL instance is already installed on a remote machine and it is used by Veeam Backup for Microsoft 365 as the configuration database. In this case, you must specify the OS of the machine where the PostgreSQL database installed, number of CPU cores and amount of memory in GB.
- If the PostgreSQL instance is installed on a remote machine and currently is not used by Veeam Backup for Microsoft 365 as the configuration database. In this case, you must create a dump file with the necessary settings and specify a path to this file. Also, you must specify the OS of the machine where the PostgreSQL database installed, number of CPU cores, and amount of memory in GB.
To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Important |
Consider the following:
|
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
DumpToFile | Specifies a path to a dump file. The cmdlet will save a dump SQL file on a machine where the PostgreSQL instance is installed. | String | False | Named | False |
OSType | Specifies the OS of the machine where the PostgreSQL instance is installed:
| String | True | Named | False |
CPUCount | Specifies a number of CPU cores that you want to assign to a machine where the PostgreSQL instance is installed. | Int32 | True | Named | False |
RamGb | Specifies amount of memory in GB that you want to assign to a machine where the PostgreSQL instance is installed. | Int32 | True | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
None.
Examples
Example 1. Modifying Local PostgreSQL Instance
This command automatically modifies settings of the PostgreSQL instance. The PostgreSQL instance and the Veeam Backup for Microsoft 365 server are installed on the same machine, and the PostgreSQL instance is used as the Veeam Backup for Microsoft 365 configuration database.
|
Example 2. Modifying Remote PostgreSQL Instance
This command manually modifies settings of the PostgreSQL instance. The PostgreSQL instance is already installed on a remote machine and it is used by Veeam Backup for Microsoft 365 as the configuration database.
|
Example 3. Modifying Remote PostgreSQL Instance and Creating Dump File
This command manually modifies settings of the PostgreSQL instance. The PostgreSQL instance is already installed on a remote machine and currently it is not used by Veeam Backup for Microsoft 365 as the configuration database.
The following is the example of a dump file:
|