Advanced Storage Options

PowerShell script exchange

Advanced Storage Options

Veeam Logoby ekisner » Wed Feb 04, 2015 4:37 pm

Hi there..

I'm trying to alter our backup to disk jobs, I suspect I can get improved backup performance.

I want to clear the "Create Synthetic Full Backups" flag, which I can find within the CDomBackupTargetOptions object:
(Get-VBRJob -name "jobname").BackupTargetOptions.TansformFullToSyntethic (sic :wink: )

Where I'm having problems is in altering the Active Full backup settings. The "Create Active Full Backups" flag is already set in the job, but I want to change it from monthly to weekly and I cannot find the value to change to effect this. All I can see is the .BackupTargetOptions.FullBackupDays where I can change which day of the week it runs on.
ekisner
Expert
 
Posts: 131
Liked: 31 times
Joined: Thu Jul 26, 2012 8:04 pm
Full Name: Erik Kisner

Re: Advanced Storage Options

Veeam Logoby v.Eremin » Wed Feb 04, 2015 4:45 pm

But I want to change it from monthly to weekly and I cannot find the value to change to effect this.

Try this code:

Code: Select all
$Job = GEt-VBRJob -Name "Name of your Job"
$Options = $Job.GetOptions()
$Options.BackupTargetOptions.FullBackupScheduleKind = "Daily"
$Job.SetOptions($Options)

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

Re: Advanced Storage Options

Veeam Logoby ekisner » Wed Feb 04, 2015 4:56 pm

Thanks... that's definitely it. I had tried to use "weekly", which definitely didn't work.
ekisner
Expert
 
Posts: 131
Liked: 31 times
Joined: Thu Jul 26, 2012 8:04 pm
Full Name: Erik Kisner

Re: Advanced Storage Options

Veeam Logoby v.Eremin » Wed Feb 04, 2015 5:05 pm

You're welcome. Feel free to ask, should other help be needed. Thanks.
v.Eremin
Veeam Software
 
Posts: 13281
Liked: 970 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: Bing [Bot] and 5 guests