Skip to main content

Job bloqué "InProgress" ou "Stopping"


  • 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

Chris.Childerhose
Forum|alt.badge.img+21

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. 😂


BertrandFR
Forum|alt.badge.img+8
  • Influencer
  • 528 comments
  • July 3, 2023

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


Comment