Speed up Add-VBRBackupToTapeJob? (Takes 4 hours when busy)

PowerShell script exchange

Speed up Add-VBRBackupToTapeJob? (Takes 4 hours when busy)

Veeam Logoby aaron@ARB » Fri Mar 31, 2017 12:56 am

Hi...

I have our Veeam DB now living on a proper SQL DB server but when the backup server is busy running our full backups (synthetic fulls if it matters) the time taken to process the creation of a tape job can blow out to 3-4 hours... Refer below to see what I mean

Code: Select all
25-03-2017 21:53:45 - ARBStartTapeBackup::FullBackup: Creating Tape Job with Name TapeJob-Week5-P2-ARBBackup-ARBTS01
26-03-2017 01:49:37 - ARBStartTapeBackup::Start-Process -FilePath SQLCmd ...


I have gone through the powershell logs and cannot see anything that would explain the delay.. I see the call being made and then it just takes hours to return. Could it be that the powershell commands are being scheduled on the backup proxy and are waiting for a 'slot' to execute?

Reason why I ask is that it works just fine when i simulate it during the day, its just when the machine is loaded up that this issue occurs.

Is there a way to 'reserve' some processing power for powershell commands as waiting 4 hours to return a command is not ideal

Cheers,
Aaron
aaron@ARB
Expert
 
Posts: 112
Liked: 12 times
Joined: Fri Feb 21, 2014 3:12 am
Full Name: Aaron @ ARB

Re: Speed up Add-VBRBackupToTapeJob? (Takes 4 hours when bus

Veeam Logoby v.Eremin » Fri Mar 31, 2017 10:23 am

And the said behaviour cannot be reproduced via GUI? If you try to create the very same job through backup console, does it hang or not?

Powershell cmdlets communicate with db and rely mostly on a performance it can guarantee. So, in case of delays I'd start my investigation with verifying the db itself either myself or with the assistance of support engineer (the recommended approach).

Thanks.
v.Eremin
Veeam Software
 
Posts: 13279
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Speed up Add-VBRBackupToTapeJob? (Takes 4 hours when bus

Veeam Logoby aaron@ARB » Sun Apr 02, 2017 10:07 pm

I will test it via the GUi this weekend when the full backups run again this weekend.
aaron@ARB
Expert
 
Posts: 112
Liked: 12 times
Joined: Fri Feb 21, 2014 3:12 am
Full Name: Aaron @ ARB

Re: Speed up Add-VBRBackupToTapeJob? (Takes 4 hours when bus

Veeam Logoby v.Eremin » Mon Apr 03, 2017 10:56 am

Let us know the results of your findings. Slowdown experienced in GUI would point out that something is going wrong with product db - certain calls and requests take longer than expected, and more thorough investigation will be needed. Thanks.
v.Eremin
Veeam Software
 
Posts: 13279
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: Google [Bot] and 7 guests