Job bloqué "InProgress" ou "Stopping"


Userlevel 2
  • Comes here often
  • 1 comment

Bonjour,

Je partage une astuce qui m’a beaucoup aidé.

 

Si vous avez un job bloqué et que vous n’avez aucun moyen de l’arrêter, Veeam conseille d’arrêter tous les services (cf https://www.veeam.com/kb1727)

 

Avec ces lignes, vous pouvez arrêter uniquement le job bloqué en “Stopping”

$StuckSession = Get-VBRBackupSession | where{ $_.State -like 'Stopping'}
$VeeamProcesses = Get-WmiObject Win32_Process -Filter "name = 'Veeam.Backup.Manager.exe'"
$Stuckprocess = $VeeamProcesses | where{$_.CommandLine -like "*$($StuckSession.JobId)*"}
Stop-Process -Id $Stuckprocess.ProcessId

 


2 comments

Userlevel 7
Badge +20

Thank you for sharing this, as it will make things much easier.  I would typically review the logs look for the job ID and then check Task Manager to kill the process for the job that was stuck. 😂

Userlevel 7
Badge +8

Partage intéressant, merci! J’avais la même astuce que @Chris.Childerhose 

Comment