What is the right way to kill stalled backup job?

Availability for the Always-On Enterprise

Re: How to kill a File copy job?

Veeam Logoby ThomasMc » Fri Nov 18, 2011 6:19 pm

TaylorB wrote:Anyone know how to kill a file copy job? I scheduled a large file copy with Veeam that has now been running for 2 days and is only half done. I may run out of space and I need to cancel it but the options for doing so are greyed out.


I would always try the shell first :)

Code: Select all
Get-VBRJob | ?{$_.Name -eq "FCJ1"} | Stop-VBRJob
ThomasMc
Expert
 
Posts: 293
Liked: 17 times
Joined: Wed Apr 13, 2011 12:45 pm
Full Name: Thomas McConnell

Re: What is the right way to kill stalled backup job?

Veeam Logoby TaylorB » Fri Nov 18, 2011 8:22 pm

That seems to be working but now it just has said "Stopping" for about 30 mins.... :)
TaylorB
Enthusiast
 
Posts: 42
Liked: 2 times
Joined: Fri Jan 28, 2011 4:40 pm
Full Name: Taylor B.

Re: What is the right way to kill stalled backup job?

Veeam Logoby ThomasMc » Fri Nov 18, 2011 8:38 pm

Always worth a try first :) most likely you'll need to kill the service as above
ThomasMc
Expert
 
Posts: 293
Liked: 17 times
Joined: Wed Apr 13, 2011 12:45 pm
Full Name: Thomas McConnell

Re: What is the right way to kill stalled backup job?

Veeam Logoby Sethbartlett » Fri Nov 18, 2011 8:55 pm

If it's stuck in stopping, your best bet is to stop/start the services. You will want to make sure no other jobs are running and do the following:

Code: Select all
Get-Process | ?{$_.name -like "*veeam*"} | Stop-Process
Get-Service | ?{$_.name -like "*veeam*"} | Stop-Service
Get-Service | ?{$_.name -like "*veeam*"} | Start-Service


From here, we may need to fix the DB too:

Code: Select all
delete [Backup.TrackedActions.Leases]
delete [Backup.TrackedActions.LockItems]
delete [Backup.TrackedActions.Locks]
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me ;)
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Sethbartlett
Expert
 
Posts: 282
Liked: 25 times
Joined: Wed Nov 10, 2010 6:51 pm
Full Name: Seth Bartlett

Re: What is the right way to kill stalled backup job?

Veeam Logoby Sethbartlett » Mon Nov 21, 2011 2:41 pm

An added note, please keep in mind, the above SQL code is for version 5. I'm not sure if it will work in version 4 or 6 :)
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me ;)
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Sethbartlett
Expert
 
Posts: 282
Liked: 25 times
Joined: Wed Nov 10, 2010 6:51 pm
Full Name: Seth Bartlett

Re: What is the right way to kill stalled backup job?

Veeam Logoby TaylorB » Mon Nov 21, 2011 4:26 pm

It finally stopped after it finished the one 1.5TB file it was copying (2 days later at 9MB/s)

I think there is something in the code that doesn't let a file copy job stop mid file.
TaylorB
Enthusiast
 
Posts: 42
Liked: 2 times
Joined: Fri Jan 28, 2011 4:40 pm
Full Name: Taylor B.

[MERGED] veeam backup v6

Veeam Logoby needhelp » Fri Dec 21, 2012 6:30 am

hi,

Does anyone know how to kill the backup job? I have 2 jobs stuck(for 6 hours), one is stopping & another 50% completed. Thanks! :)
needhelp
Lurker
 
Posts: 1
Liked: never
Joined: Fri Dec 21, 2012 6:02 am
Full Name: norman

Re: veeam backup v6

Veeam Logoby Vitaliy S. » Fri Dec 21, 2012 7:28 am

Hi Norman,

If you cannot stop your backup jobs via GUI, then please open Task Manager on your backup server and end all processes that start with Veeam*.

Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: What is the right way to kill stalled backup job?

Veeam Logoby dapidap » Mon Jan 07, 2013 1:37 am

Hi, I am so unhappy.

My simple file copy jobs doesn't execute and I cant seem to delete the job or stop it, its in "Stopping" state since even when disabled. How do you exactly end a job and delete in veeam?
dapidap
Novice
 
Posts: 4
Liked: never
Joined: Wed Aug 01, 2012 3:35 am
Full Name: Dapearl SJ

Re: What is the right way to kill stalled backup job?

Veeam Logoby dapidap » Mon Jan 07, 2013 1:56 am

Hi Vitaliy,

All is well, i have deleted the job by killing all processes related to veeam and restarting the veeam server.

Thanks!
dapidap
Novice
 
Posts: 4
Liked: never
Joined: Wed Aug 01, 2012 3:35 am
Full Name: Dapearl SJ

[MERGED] : 3 instant recovery jobs stuck

Veeam Logoby antman157 » Wed Apr 03, 2013 2:57 pm

Ive got 3 instant recovery jobs stuck in the status "Stopping"

Is there a way to remove them? If I right click the Job Name, "Stop Session" is grayed out.

Veeam 6.5.0.128 (64 bit)
Windows 2008 Server with SQL server mgmt studio express
antman157
Influencer
 
Posts: 12
Liked: 1 time
Joined: Wed Apr 03, 2013 2:53 pm
Full Name: Anthony Jones

Re: What is the right way to kill stalled backup job?

Veeam Logoby krismcewan » Tue Oct 08, 2013 5:10 pm

ok how about this for a conundrum


Backup Server is backup 5 on win 2003 sp2

Powershell does not work as the tools are not compatible with powershell v1

I cant seem to copy sql mgmt studio onto there so i cant check the SQL tables.

and i cant rebuild as there is no documentation on how it was implemented in the first place.
krismcewan
Influencer
 
Posts: 14
Liked: never
Joined: Thu Jan 21, 2010 4:40 pm
Full Name: Chris mcewan

Re: What is the right way to kill stalled backup job?

Veeam Logoby Vitaliy S. » Tue Oct 08, 2013 6:03 pm

Do you have any Veeam* processes running? Have you tried to end them? If this doesn't help, then please contact our technical team directly. Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

[MERGED] What's the cleanest way to kill a hung replication

Veeam Logoby pkelly_sts » Wed Oct 30, 2013 1:48 pm

I seem to be getting regular job-hangs at the moment, possibly because I'm trying to sort our v7 migration and I'm running multiple jobs at various times, but I'd like to know the cleanest way to restart Veeam without upsetting it too much if a job is in the hung state.

Reason I ask is because yesterday I tried restarting some of the services which wasn't working so I killed the processes and managed to get everything up & running again, but when I tried to start a job it just sat there saying it was waiting for the repository to come available (or something similar).

I want to start a fresh copy job for a seeded backup at a remote site (i.e. to create the single .vbk that the copy job requires) but I want to get rid of this hung job before I start that one.

(I'd log a call but it would be hard to justify a Sev 1 and could really do with some idea before this evening)

Paul
[New Sig: PLEASE get GFS tape support for incrementals!!!]
pkelly_sts
Expert
 
Posts: 504
Liked: 55 times
Joined: Thu Jun 13, 2013 10:08 am
Full Name: Paul Kelly

Re: What is the right way to kill stalled backup job?

Veeam Logoby Vitaliy S. » Wed Oct 30, 2013 2:05 pm

Hi Paul,

Ending all Veeam process on the backup server should be all you need to do, however I would strongly recommend opening a support case to investigate the initial reason of this issue.

Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

PreviousNext

Return to Veeam Backup & Replication



Who is online

Users browsing this forum: Bing [Bot], DonZoomik, Google [Bot] and 17 guests