Set WAN Accelerator to BackupSync Job

PowerShell script exchange

Set WAN Accelerator to BackupSync Job

Veeam Logoby Avshalom » Thu Jun 15, 2017 1:38 pm

Hi,

I could not find anywhere how to assign/set WAN Accelerator to BackupSync Job using powershell.

the closest i got is the 'Set-VBRViReplicaJob'

Code: Select all
Set-VBRViReplicaJob -Job $Job -SourceWANAccelerator $SourceWan -TargetWANAccelerator $TargetWan


but it says "Set-VBRViReplicaJob : Job type BackupSync is not supported"

How can i assign existing WAN Accelerator to backupSync Job, I prefer not to re-recreate the backup sync job, just update the job to use WAN Accelerator,

Thanks for your help
Avshalom
Influencer
 
Posts: 18
Liked: never
Joined: Sun Mar 30, 2014 8:00 am
Full Name: Avshalom

Re: Set WAN Accelerator to BackupSync Job

Veeam Logoby Avshalom » Sun Jun 18, 2017 9:34 am

help anybody??
Avshalom
Influencer
 
Posts: 18
Liked: never
Joined: Sun Mar 30, 2014 8:00 am
Full Name: Avshalom

Re: Set WAN Accelerator to BackupSync Job

Veeam Logoby mikeconjoice » Mon Jun 19, 2017 6:44 pm

Hey Avshalom,

VBRViReplicaJob would be for Replication jobs, VBRViBackupCopyJob is for Copy jobs.

I've been having a look today and don't know if this is possible with PowerShell at the moment. There is a UseWan boolean but someone else may have to chime in on what that actually does.
Code: Select all
$VBRJobOptions.JobOptions.UseWan

The easiest way may be to copy the jobs and set them up using the following command via PowerShell

Code: Select all
$SourceWan = Get-VBRWANAccelerator -Name "Source WAN Name"
$TargetWan = Get-VBRWANAccelerator -Name "Target WAN Name"
$Job = Get-VBRJob -Name "Name of your Backup Copy Job"
Copy-VBRJob -Job $Job -SourceAccelerator $SourceWan -TargetAccelerator $TargetWan

Full disclosure, I haven't tested that and have no idea if it'll work correctly, so please don't try it straight in production!

Let me know if you manage to get it sorted!

Mike
mikeconjoice
Service Provider
 
Posts: 6
Liked: never
Joined: Mon May 09, 2016 3:59 pm
Location: UK
Full Name: Mike Conjoice

Re: Set WAN Accelerator to BackupSync Job

Veeam Logoby Avshalom » Wed Jun 21, 2017 9:24 am

Thanks for your effort, it's not helping me, copying a job is like create a new one, flush all history etc.
for creating new job there's already a cmdlet parameter to set wan accel...
I think that veeam team should add this option, maybe a new Set-VBRBackupCopyJob cmdlet with options to set/add wan accel.. to backupCopy Job
thanks
Avshalom
Influencer
 
Posts: 18
Liked: never
Joined: Sun Mar 30, 2014 8:00 am
Full Name: Avshalom


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 1 guest