Disable-VBOCopyJob
Short Description
Temporarily disables a backup copy job.
Syntax
|
Disable-VBOCopyJob -Job <VBOCopyJob> [<CommonParameters>] |
Detailed Description
This cmdlet temporarily disables the specified backup copy job. The backup copy job and its settings will remain in Veeam Backup for Microsoft 365. You can enable the job at any time by running the Enable-VBOCopyJobEnables a backup copy job. cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Job |
Specifies a backup copy job that you want to disable.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Disabling Backup Copy Job
This example shows how to disable a backup copy job.
|
$copyjob = Get-VBOCopyJob -Id 8b6b539e-15cc-4ed6-bd1d-b8c7c918f413 Disable-VBOCopyJob -Job $copyjob |
Perform the following steps:
- Run the
Get-VBOCopyJobReturns backup copy jobs. cmdlet. Specify theIdparameter value. Save the result to the$copyjobvariable. - Run the
Disable-VBOCopyJobcmdlet. Set the$copyjobvariable as theJobparameter value.
Related Commands
Get-VBOCopyJobReturns backup copy jobs.Enable-VBOCopyJobEnables a backup copy job.