Get-VBRTapeJobs stuck

PowerShell script exchange

Get-VBRTapeJobs stuck

Veeam Logoby chas0rde » Wed Jul 27, 2016 8:59 am

Hello
I am currently working on a script to notify about long running jobs.
The backup-to-disk part is working

But once I try to get the Tape-jobs using Get-VBRTapeJobs the script gets stuck
The same happens when executing the command in a PS-window directly

The execution starts but no output is generated and it does not terminate

Anyone else having this issue?
chas0rde
Enthusiast
 
Posts: 28
Liked: 3 times
Joined: Wed Jan 14, 2015 7:01 am

Re: Get-VBRTapeJobs stuck

Veeam Logoby chas0rde » Wed Jul 27, 2016 11:29 am

As far as I see it the command runs through. But it takes about 5 minutes to do so
chas0rde
Enthusiast
 
Posts: 28
Liked: 3 times
Joined: Wed Jan 14, 2015 7:01 am

Re: Get-VBRTapeJobs stuck

Veeam Logoby v.Eremin » Wed Jul 27, 2016 12:03 pm

Get-VBRTapeJob is not the lightest cmdlet that we have, indeed. Mostly due to its loading media pools a job is pointed to as well as tapes present inside these pools. Thus, it takes time to execute. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Get-VBRTapeJobs stuck

Veeam Logoby chas0rde » Wed Jul 27, 2016 1:07 pm

Yes.
But to determine current runtime of active Tape-Jobs there is no way around it right?
chas0rde
Enthusiast
 
Posts: 28
Liked: 3 times
Joined: Wed Jan 14, 2015 7:01 am

Re: Get-VBRTapeJobs stuck

Veeam Logoby v.Eremin » Wed Jul 27, 2016 1:30 pm

Unfortunately, not. At least I'm not aware of potential workaround. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 2 guests