- Posts: 198
- Liked: 33 times
- Joined: Jul 26, 2012 8:04 pm
- Full Name: Erik Kisner
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.
- Product Manager
- Posts: 17665
- Liked: 1597 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
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)
Users browsing this forum: No registered users and 3 guests