Enable-VBRApplicationBackupJob
Short Description
Enables application backup policies.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Enable-VBRApplicationBackupJob [-Job] <VBRComputerBackupJob[]> [-PassThru] [<CommonParameters>] |
Detailed Description
This cmdlet enables application backup policies.
Run the Disable-VBRApplicationBackupJob cmdlet to disable application backup policies.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Job | Specifies an application backup policy that you want to enable. | Accepts the VBRApplicationBackupJob[] object. To get this object, run the Get-VBRApplicationBackupJob cmdlet. | True | 0 | True (ByValue, ByPropertyName) |
PassThru | Defines that the command returns the output object to the Windows PowerShell console. | SwitchParameter | 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 enabled application backup policies.
Example
Enabling Application Backup Policy
This example shows how to enable the DbsSrv2049 application backup policy.
$job = Get-VBRApplicationBackupJob -Name "DbsSrv2049" Enable-VBRApplicationBackupJob -Job $job |
Perform the following steps:
- Run the Get-VBRApplicationBackupJob cmdlet. Specify the Name parameter value. Save the result to the $job variable.
- Run the Enable-VBRApplicationBackupJob cmdlet. Set the $job variable as the Job parameter value.
Related Commands