Stopping BExec services on remote (tape) server

PowerShell script exchange

Re: Stopping BExec services on remote (tape) server

Veeam Logoby v.Eremin » Wed Mar 23, 2016 1:41 pm

I have several suggestions:

- If PS 2.0 is used, update to 3.0 at least
- Check whether during manual and automatic tests the same version of PS is leveraged. In x64 OS there are two instances of PS - 32 and 64 ones
- Put a server name within a single quotes in a bat file. 'ServerName'

If nothing helps, open a ticket with our support team.

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

Re: Stopping BExec services on remote (tape) server

Veeam Logoby pkelly_sts » Wed Mar 23, 2016 2:43 pm

Will go through those when I return from holiday and as suggested, log a ticket if no joy. Thanks again.
[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: Stopping BExec services on remote (tape) server

Veeam Logoby pkelly_sts » Fri Apr 22, 2016 2:12 pm 1 person likes this post

I'm pleased to report that having now upgraded to v9, U1 (from v8) my original scripts seem to be running exactly as expected! (This is using a .bat to call a .ps1 - I haven't tried seeing if natively running a .ps1 also works as what I have now is good enough for me.

My last niggle with it though is I think I might need to initiate a rescan of the tape server for it to realise that the tape library is now available for use - can someone suggest what's the easiest powershell command to achieve that?
[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: Stopping BExec services on remote (tape) server

Veeam Logoby v.Eremin » Fri Apr 22, 2016 3:14 pm

From the top of my head:

Code: Select all
Get-VBRTapeServer -Name "Name of your Tape Server" | Rescan-VBREntity


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

Re: Stopping BExec services on remote (tape) server

Veeam Logoby pkelly_sts » Fri Apr 22, 2016 3:18 pm

Thanks! I've inserted it into my script & will see how it goes...
[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: Stopping BExec services on remote (tape) server

Veeam Logoby v.Eremin » Fri Apr 22, 2016 3:53 pm

I'd suggest to run it independently first just to check whether everything works as expected and then incorporate this portion into the script. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Previous

Return to PowerShell



Who is online

Users browsing this forum: No registered users and 4 guests