New-VBRPostgreSQLProcessingOptions
Short Description
Defines settings for processing backed-up PostgreSQL databases on Linux computers.
Syntax
|
New-VBRPostgreSQLProcessingOptions [-Credentials <CCredentials>] [-UserType <VBRPostgreSQLUserType>] [-EnableArchiveLogBackup] [-ArchiveLogBackupPeriod <Int32>] [-ArchiveLogRetainAction <VBRLogRetainAction>] [-ArchiveLogRetainPeriod <Int32>] [-ArchiveLogBackupStorage <String>] [<CommonParameters>] |
Detailed Description
This cmdlet applies to Veeam Agent jobs that back up Linux computers.
This cmdlet creates the VBRPostgreSQLProcessingOptions object. This object contains settings for processing backed-up PostgreSQL databases.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ArchiveLogBackupPeriod |
Specifies how often in minutes the cmdlet will back up WAL files. Default: 15 minutes. |
|
False |
Named |
False |
|
ArchiveLogBackupStorage |
For Linux machines. Specify a path to a location where WAL files are stored. |
|
False |
Named |
False |
|
ArchiveLogRetainAction |
Specifies retention policy for WAL files stored in the backup location.
|
|
False |
Named |
False |
|
ArchiveLogRetainPeriod |
Specifies the number of days to keep WAL files.
Default: |
|
False |
Named |
False |
|
Credentials |
Specifies the PostgreSQL credentials that Veeam Agent will use to connect to the PostgreSQL server.
Accepts the |
|
False |
Named |
False |
|
EnableArchiveLogBackup |
Defines that the cmdlet will back up WAL files. |
|
False |
Named |
False |
|
UserType |
Specifies the PostgreSQL authentication options. You can specify either of the following types of authentication options:
|
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
This cmdlet returns the VBRPostgreSQLProcessingOptions object that contains settings for processing backed-up PostgreSQL databases.
Examples
Defining Settings for Processing Backed-up PostgreSQL Databases
This example shows how to define settings for processing backed-up PostgreSQL databases.
|
$creds = Get-VBRCredentials -Name *Administrator* New-VBRPostgreSQLProcessingOptions -Credentials $creds |
Perform the following steps:
- Run the
Get-VBRCredentialsReturns credentials records. cmdlet. Specify theNameparameter value. Save the result to the$credsvariable. - Run the
New-VBRPostgreSQLProcessingOptionscmdlet. Set the$credsvariable as theCredentialsparameter value.
Related Commands
Get-VBRCredentialsReturns credentials records.