PowerShell script exchange
Post Reply
ivo.r
Novice
Posts: 4
Liked: 2 times
Joined: Mar 16, 2020 2:49 pm
Full Name: Ivo R
Contact:

How to get/set WAN accelerator on a backup copy

Post by ivo.r »

Hi community

I would like to check/activate/change the source and target accelerator on a backup copy job (version 9.5/update 4).
In the GUI it's defined here:
- HOME/Jobs/Backup Copy
- Edit the job
- Data Transfer / Through build-in WAN accelerators / Sorce and Target WAN accelerator

On version 10 I found the command "Set-VBRComputerBackupCopyJob" which is not available on version 9.5, but looking forward for an other way to set these settings.

Would be nice to have an example.

ivo
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: How to get/set WAN accelerator on a backup copy

Post by oleg.feoktistov » 1 person likes this post

Hi Ivo and Welcome to the Community Forums!

We don't have an official cmdlet/option to retrieve/set those for backup copy jobs, but you can try the unsupported methods I covered
in this post.


Thanks,
Oleg
ivo.r
Novice
Posts: 4
Liked: 2 times
Joined: Mar 16, 2020 2:49 pm
Full Name: Ivo R
Contact:

Re: How to get/set WAN accelerator on a backup copy

Post by ivo.r »

Thank you Oleg

I give them a try :-)
ivo.r
Novice
Posts: 4
Liked: 2 times
Joined: Mar 16, 2020 2:49 pm
Full Name: Ivo R
Contact:

Re: How to get/set WAN accelerator on a backup copy

Post by ivo.r »

The way looks good, but now, how can I switch between "Direct" and "Through build-in WAN accelerators"?
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: How to get/set WAN accelerator on a backup copy

Post by oleg.feoktistov » 1 person likes this post

Here is the switch:

Code: Select all

$job = Get-VBRJob -Name 'BackupCopyJob'
$options = Get-VBRJobOptions -Job $job
$options.JobOptions.UseWan = $false
Set-VBRJobOptions -Job $job -Options $options
Best regards,
Oleg
ivo.r
Novice
Posts: 4
Liked: 2 times
Joined: Mar 16, 2020 2:49 pm
Full Name: Ivo R
Contact:

Re: How to get/set WAN accelerator on a backup copy

Post by ivo.r » 2 people like this post

Many thanks - I implement it and it works!
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests