Enable-VBRApplicationBackupJob
Short Description
Enables application backup policies.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Enable-VBRApplicationBackupJob [-Job] <VBRApplicationBackupJobBase[]> [-PassThru] [<CommonParameters>] |
Detailed Description
This cmdlet enables application backup policies.
Run the Disable-VBRApplicationBackupJobDisables application backup policies. 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 |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
PassThru |
Defines that the command returns the output object to the Windows PowerShell console. |
|
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 VBRApplicationBackupJobBase[] object that contains settings of enabled application backup policies.
Examples
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-VBRApplicationBackupJobReturns application backup policies. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
Enable-VBRApplicationBackupJobcmdlet. Set the$jobvariable as theJobparameter value.
Related Commands
Get-VBRApplicationBackupJobReturns application backup policies.