Stops a running backup, replication or copy job.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Stop-VBRJob [-Job] <CBackupJob> [-RunAsync] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
This cmdlet stops a running backup, replication or copy job. The job is stopped once, the scheduled job will start the next scheduled time.
The cmdlets stops the job immediately. You cannot stop the job gracefully with Veeam PowerShell.
Run Start-VBRJob to start the job manually.
Run Disable-VBRJob to temporarily disable a job.
Run Stop-VSBJob to stop a SureBackup job.
Specifies the array of jobs you want to stop.
Indicates that the command returns immediately without waiting for the task to complete.
Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.
Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
This command stops the copy job named "SharePoint File Copy Job". The needed job object is obtained with Get-VBRJob and piped down.
Get-VBRJob -Name "SharePoint File Copy Job" | Stop-VBRJob
This command stops the copy job represented by the $SharePointFileCopyJob variable. The needed session object is obtained with Get-VBRJob and assigned to the variable beforehand.
Stop-VBRJob -Job $SharePointFileCopyJob