New-VBRMySQLProcessingOptions

Short Description

Defines settings for processing backed-up MySQL databases on Linux computers.

Syntax

This cmdlet provides the following parameter sets:

  • Credentials (Default)

    New-VBRMySQLProcessingOptions [-Credentials <CCredentials>] [<CommonParameters>]

  • PasswordFilePath

    New-VBRMySQLProcessingOptions [-PasswordFilePath <String>] [<CommonParameters>]

Detailed Description

This cmdlet creates the VBRMySQLProcessingOptions object. This object contains settings for processing backed-up MySQL databases for Veeam Agent backup jobs.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Credentials

Specifies the MySQL credentials that Veeam Agent will use to connect to the MySQL Server.

Accepts the CCredentials object. To get this object, run the Get-VBRCredentialsReturns credentials records. cmdlet.

CCredentials

False

Named

False

PasswordFilePath

Specifies the absolute path for the password file. Veeam Agent will use this password file to connect to the MySQL Server.

Default: /root/.my.cnf.

Note:

  • Start the absolute path with the / symbol.
  • The cmdlet will return an error if you provide this parameter when the Credentials parameter is already specified.

String

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 VBRMySQLProcessingOptions object that contains settings for processing backed-up MySQL databases.

Examples

New-VBRMySQLProcessingOptionsExample 1. Defining Settings for Processing Backed-up MySQL Database Using Credentials

This example shows how to define settings for processing backed-up MySQL databases using credentials.

$creds = Get-VBRCredentials -Name *Administrator*

New-VBRMySQLProcessingOptions -Credentials $creds

Perform the following steps:

  1. Run the Get-VBRCredentialsReturns credentials records. cmdlet. Specify the Name parameter value. Save the result to the $creds variable.
  2. Run the New-VBRMySQLProcessingOptions cmdlet. Set the $creds variable as the Credentials parameter value.

New-VBRMySQLProcessingOptionsExample 2. Defining Settings for Processing Backed-up MySQL Database Using Password File

This command defines settings for processing backed-up MySQL databases using the absolute path for the password file.

New-VBRMySQLProcessingOptions -PasswordFilePath "/root/.my.cnf."

Get-VBRCredentialsReturns credentials records.

Page updated 2026-08-19

Page content applies to build 13.1.1.18