Enable-VBRBackupCopyJob
Short Description
Enables backup copy jobs.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Enable-VBRBackupCopyJob [-Job] <VBRBackupCopyJob[]> [-PassThru] [<CommonParameters>] |
Detailed Description
This cmdlet enables backup copy jobs.
Run the Disable-VBRBackupCopyJobDisables backup copy jobs. cmdlet to disable backup copy jobs.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Job |
Specifies an array of backup copy jobs 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.
Examples
Enabling Backup Copy Job
This example shows how to enable a backup copy job.
|
$job = Get-VBRBackupCopyJob Enable-VBRBackupCopyJob -Job $job |
Perform the following steps:
- Run the
Get-VBRBackupCopyJobReturns backup copy jobs. cmdlet. Save the result to the$jobvariable.
- Run the
Enable-VBRBackupCopyJobcmdlet. Set the$jobvariable as theJobparameter value.
Related Commands
Get-VBRBackupCopyJobReturns backup copy jobs.