Set-VBRApplicationBackupJob
Short Description
Modifies application backup policies.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRApplicationBackupJob -Job <VBRApplicationBackupJob> [-Description <String>] [-BackupObject <Object[]>] [-BackupRepository <CBackupRepository>] [-BackupOptions <VBRApplicationBackupOptions>] [-EnableRetentionPolicy] [-RetentionPolicy <Int32>] [-EnableSchedule] [-ScheduleOptions <VBRApplicationScheduleOptions>] [-NotificationOptions <VBRNotificationOptions>] [-DatabaseProcessingOptions <VBRDatabaseProcessingOptions[]>] [-GFSOptions <VBRComputerGFSOptions>] [-SAPOnOracleMode <VBRSAPOnOracleMode>] [-SAPOnOracleStorageOptions <VBRSAPOnOracleStorageOptions>] [-SAPOnOracleOptions <VBRSAPOnOracleOptions>] [-OracleRMANStorageOptions <VBROracleRMANStorageOptions>] [-OracleRMANOptions <VBROracleRMANOptions>] [-SAPHANAOptions <VBRSAPHANAOptions>] [-SAPHANACredentialsOptions <VBRSAPHANACredentialsOptions[]>] [-SAPHANAStorageOptions <VBRSAPHANAStorageOptions>] [-MSSQLOptions <VBRMSSQLOptions>] [-MSSQLCredentialsOptions <VBRMSSQLCredentialsOptions[]>] [-MSSQLStorageOptions <VBRMSSQLStorageOptions>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of application backup policies.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupObject |
Specifies an array of protection groups and discovered computers that you want to add to the application backup policy.
Accepts the |
|
False |
Named |
False |
|
BackupOptions |
Specifies backup settings for the application backup policy.
Accepts the |
|
False |
Named |
False |
|
BackupRepository |
Specifies the target backup location for the application backup policy.
Accepts the |
|
False |
Named |
False |
|
DatabaseProcessingOptions |
Specifies database processing settings for the application backup policy.
Accepts the |
|
False |
Named |
False |
|
Description |
Specifies the description of the application backup policy. |
|
False |
Named |
False |
|
EnableRetentionPolicy |
Enables retention policy. |
|
False |
Named |
False |
|
EnableSchedule |
Enables the option to schedule the application backup policy to run on a regular basis. |
|
False |
Named |
False |
|
GFSOptions |
Specifies GFS retention settings for the application backup policy.
Accepts the |
|
False |
Named |
False |
|
Job |
Specifies the application backup policy that you want to modify.
Accepts the |
|
True |
Named |
True (ByValue) |
|
MSSQLCredentialsOptions |
Note: This option works only for Veeam Plug-In for Microsoft SQL Server. Specifies an array of the credentials for Veeam Plug-In for Microsoft SQL Server
Accepts the |
|
False |
Named |
False |
|
MSSQLOptions |
Note: This option works only for Veeam Plug-In for Microsoft SQL Server. Specifies the backup settings for Veeam Plug-In for Microsoft SQL Server.
Accepts the |
|
False |
Named |
False |
|
MSSQLStorageOptions |
Note: This option works only for Veeam Plug-In for Microsoft SQL Server. Specifies the storage settings for Veeam Plug-In for Microsoft SQL Server.
Accepts the |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification settings for the application backup policy.
Accepts the |
False |
Named |
False |
|
|
OracleRMANOptions |
Note: This option works only for Veeam Plug-In for Oracle RMAN. Specifies the backup settings for Veeam Plug-In for Oracle RMAN.
Accepts the |
|
False |
Named |
False |
|
OracleRMANStorageOptions |
Note: This option works only for Veeam Plug-In for Oracle RMAN. Specifies the storage options for Veeam Plug-In for Oracle RMAN.
Accepts the |
|
False |
Named |
False |
|
RetentionPolicy |
Specifies the retention policy for backups created by Veeam Plug-In. Note: The retention policy specifies the number of restore points or a number of days. |
|
False |
Named |
False |
|
SAPHANACredentialsOptions |
Note: This option works only for Veeam Plug-In for SAP HANA. Specifies the credentials settings for Veeam Plug-In for SAP HANA.
Accepts the |
|
False |
Named |
False |
|
SAPHANAOptions |
Note: This option works only for Veeam Plug-In for SAP HANA. Specifies the backup settings for Veeam Plug-In for SAP HANA.
Accepts the |
|
False |
Named |
False |
|
SAPHANAStorageOptions |
Note: This option works only for Veeam Plug-In for SAP HANA. Specifies the storage settings for Veeam Plug-In for SAP HANA.
Accepts the |
|
False |
Named |
False |
|
SAPOnOracleMode |
Note: This option works only for Veeam Plug-In for SAP on Oracle. Specifies the backup mode for Veeam Plug-In for SAP on Oracle:
|
|
False |
Named |
False |
|
SAPOnOracleOptions |
Note: This option works only for Veeam Plug-In for SAP on Oracle. Specifies the backup settings for Veeam Plug-In for SAP on Oracle.
Accepts the |
|
False |
Named |
False |
|
SAPOnOracleStorageOptions |
Note: This option works only for Veeam Plug-In for SAP on Oracle. Specifies the storage settings for Veeam Plug-In for SAP on Oracle.
Accepts the |
|
False |
Named |
False |
|
ScheduleOptions |
Specifies the settings for the application backup policy schedule.
Accepts the
|
|
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 VBRApplicationBackupJob[] object that contains settings of application backup policies.
Examples
Modifying SAP HANA Backup Settings for Application Backup Policy
This example shows how to modify the number of data processing channels that can be assigned to the Plugin Policy 05 application backup policy.
|
$policy = Get-VBRApplicationBackupJob -Name "Plugin Policy 05" $hana_options = New-VBRSAPHANAOptions -ParallelChannelsCount 5 Set-VBRApplicationBackupJob -Job $policy -SAPHANAOptions $hana_options |
Perform the following steps:
- Run the
Get-VBRApplicationBackupJobReturns application backup policies. cmdlet. Specify theNameparameter value. Save the result to the$policyvariable. - Run the
New-VBRSAPHANAOptionsCreates the SAP HANA backup settings for application backup policies. cmdlet. Specify theParallelChannelsCountparameter value. Save the result to the$hana_optionsvariable. - Run the
Set-VBRApplicationBackupJobcmdlet. Set the$policyvariable as theJobparameter value. Set the$hana_optionsvariable as theSAPHANAOptionsparameter value.
Related Commands
Get-VBRProtectionGroupReturns protection groups.Get-VBRBackupRepositoryReturns a list of backup repositories.New-VBRApplicationBackupOptionsCreates the backup settings and full backup schedule for application backup policies.New-VBRApplicationScheduleOptionsCreates the schedule for application backup policies.New-VBRSAPHANAProcessingOptionsCreates the SAP HANA database processing settings for application backup policies.New-VBRDatabaseProcessingOptionsCreates the database processing settings for application backup policies.New-VBRSAPHANAOptionsCreates the SAP HANA backup settings for application backup policies.New-VBRSAPHANACredentialsOptionsCreates the SAP HANA credentials settings for application backup policies.Add-VBRApplicationBackupJobCreates application backup policies.