Disable-VBRStorageCopyJob
Short Description
Disables storage backup copy jobs.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Disable-VBRStorageCopyJob [-Job] <VBRStorageCopyJob[]> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet disables storage backup copy jobs for HPE StoreOnce and Dell Data Domain repositories.
Run the Enable-VBRStorageCopyJobEnables storage backup copy jobs. cmdlet to enable storage backup copy jobs.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Job |
Specifies an array of storage backup copy jobs. The cmdlet will disable these jobs.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
PassThru |
Defines that the command returns the output object to the Windows PowerShell console. |
|
False |
Named |
False |
|
Confirm |
Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRStorageCopyJob object that contains settings of storage backup copy jobs.
Examples
Disabling Backup Copy Job for HPE StoreOnce Repository
This example shows how to disable the StoreOnce copy job backup copy job for an HPE StoreOnce repository.
|
$job = Get-VBRStorageCopyJob -Name "StoreOnce copy job" Disable-VBRStorageCopyJob -Job $job |
Perform the following steps:
- Run the
Get-VBRStorageCopyJobReturns storage backup copy jobs. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
Disable-VBRStorageCopyJobcmdlet. Set the$jobvariable as theJobparameter value.
Related Commands
Get-VBRStorageCopyJobReturns storage backup copy jobs.