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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This command stops the copy job named "SharePoint File Copy Job". The needed job object is obtained with Get-VBRJob and piped down.
PS C:\PS> Get-VBRJob -Name "SharePoint File Copy Job" | Stop-VBRJob
This command stops the copy job represented by the $"SharePoint File Copy Job" variable. The needed session object is obtained with Get-VBRJob and assigned to the variable beforehand.
PS C:\PS> Stop-VBRJob -Job $"SharePoint File Copy Job"