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 )
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.
-
- Expert
- Posts: 203
- Liked: 34 times
- Joined: Jul 26, 2012 8:04 pm
- Full Name: Erik Kisner
- Contact:
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Advanced Storage Options
Try this code:But I want to change it from monthly to weekly and I cannot find the value to change to effect this.
Code: Select all
$Job = GEt-VBRJob -Name "Name of your Job"
$Options = $Job.GetOptions()
$Options.BackupTargetOptions.FullBackupScheduleKind = "Daily"
$Job.SetOptions($Options)
-
- Expert
- Posts: 203
- Liked: 34 times
- Joined: Jul 26, 2012 8:04 pm
- Full Name: Erik Kisner
- Contact:
Re: Advanced Storage Options
Thanks... that's definitely it. I had tried to use "weekly", which definitely didn't work.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Advanced Storage Options
You're welcome. Feel free to ask, should other help be needed. Thanks.
Who is online
Users browsing this forum: No registered users and 15 guests