Proxy

PowerShell script exchange

Proxy

Veeam Logoby marius roma » Thu May 26, 2016 12:28 pm

How can I detect the proxy used by a given backup or replica job?
Regards
marius
marius roma
Expert
 
Posts: 317
Liked: 3 times
Joined: Wed Feb 01, 2012 12:04 pm
Full Name: Mario

Re: Proxy

Veeam Logoby v.Eremin » Thu May 26, 2016 12:36 pm 1 person likes this post

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

Re: Proxy

Veeam Logoby marius roma » Thu May 26, 2016 2:04 pm

Many thanks
marius
marius roma
Expert
 
Posts: 317
Liked: 3 times
Joined: Wed Feb 01, 2012 12:04 pm
Full Name: Mario

Re: Proxy

Veeam Logoby marius roma » Fri May 27, 2016 7:16 am

I suspect I asked the wrong question.
I made a test and I discovered that I get the list of proxyies that could be used by a given job.
I need instead to get the proxy that was used by a given task, the one listed in the job's statistics as:

Code: Select all
26/05/2016 16:17:44 :: Using backup proxy <Proxy_name> for disk Hard disk 1 [hotadd]
26/05/2016 16:18:54 :: Using backup proxy <Proxy_name> for disk Hard disk 2 [hotadd]

How can I get such information?
Regards
Marius
marius roma
Expert
 
Posts: 317
Liked: 3 times
Joined: Wed Feb 01, 2012 12:04 pm
Full Name: Mario

Re: Proxy

Veeam Logoby v.Eremin » Fri May 27, 2016 10:52 am

In this case you should get the list of task sessions and parse their logs to get the required data. If I'm not mistaken, there has been already a script doing the very same operation. I will try to find it either here or in my inbox and let you know in accordance. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Proxy

Veeam Logoby v.Eremin » Tue May 31, 2016 6:19 am 1 person likes this post

I managed to find it; take a look and see whether it meets your expectations. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Proxy

Veeam Logoby marius roma » Mon Jun 06, 2016 11:31 am

Thank you for the pointer.
I looked at it but the sample looks to do something different from what I need to do.
I need to see which proxy was used by a given task, to see how the tasks were distribuited among the proxyies.
Can I get such information from any property of the task?
Regards
Marius
marius roma
Expert
 
Posts: 317
Liked: 3 times
Joined: Wed Feb 01, 2012 12:04 pm
Full Name: Mario

Re: Proxy

Veeam Logoby v.Eremin » Mon Jun 06, 2016 7:11 pm

The referenced script provides a great example on how task session logs can be parsed, and how gotten information can be matched to proxy server names, etc.. Also, it illustrates how resulting data can be represented in understandable way.

You will have to change selection algorithm, so that instead of active sessions only finished ones are caught, and slightly modify the output. Feel free to provide your feedback in the mentioned thread.

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