-
- Novice
- Posts: 5
- Liked: never
- Joined: Jul 09, 2016 9:34 am
- Full Name: Ehsan Mohseni
- Contact:
Set FullBackupDays
Hi everyone,
I'm looking for a quick powershell script that will get me the configure "Active Full Backup" Job Days in storage advanced settings
So I try this one from Veeam helpcenter website
"Get-VBRJob -Name "My job" | Set-VBRJobAdvancedBackupOptions -Algorithm Incremental -TransformFullToSyntethic $False -TransformIncrementsToSyntethic $False -EnableFullBackup $True -FullBackupScheduleKind Monthly -DayNumberInMonth First -FullBackupDays Wednesday"
and everythings work fine just the parameter "-FullBackupDays Wednesday" instead of setting Wednesday set Monday .
can one of you assist me or point me in the right direction?
thanks
I'm looking for a quick powershell script that will get me the configure "Active Full Backup" Job Days in storage advanced settings
So I try this one from Veeam helpcenter website
"Get-VBRJob -Name "My job" | Set-VBRJobAdvancedBackupOptions -Algorithm Incremental -TransformFullToSyntethic $False -TransformIncrementsToSyntethic $False -EnableFullBackup $True -FullBackupScheduleKind Monthly -DayNumberInMonth First -FullBackupDays Wednesday"
and everythings work fine just the parameter "-FullBackupDays Wednesday" instead of setting Wednesday set Monday .
can one of you assist me or point me in the right direction?
thanks
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Set FullBackupDays
Ehsan, we have confirmed this unexpected behavior, I will let you know if there is a workaround for this. Thanks for the heads up.
-
- Veeam Software
- Posts: 649
- Liked: 170 times
- Joined: Dec 10, 2012 8:44 am
- Full Name: Nikita Efes
- Contact:
Re: Set FullBackupDays
Workaround will be following:
Code: Select all
$j = Get-VBRJob -Name "My job"
$o = $j.Options
$o.BackupTargetOptions.FullBackupMonthlyScheduleOptions.DayOfWeek = "Wednesday"
Set-VBRJobOptions -Job $j -Options $o
-
- Veeam Software
- Posts: 649
- Liked: 170 times
- Joined: Dec 10, 2012 8:44 am
- Full Name: Nikita Efes
- Contact:
Re: Set FullBackupDays
Ninja edit: there is more convenient way to do it:
Correct parameter is -DayOfWeek for that case, not -FullBackupDays. We've passed this information to technical writers team.
Code: Select all
Get-VBRJob -Name "My job" | Set-VBRJobAdvancedBackupOptions -Algorithm Incremental -TransformFullToSyntethic $False -TransformIncrementsToSyntethic $False -EnableFullBackup $True -FullBackupScheduleKind Monthly -DayNumberInMonth First -DayOfWeek Wednesday
-
- Novice
- Posts: 5
- Liked: never
- Joined: Jul 09, 2016 9:34 am
- Full Name: Ehsan Mohseni
- Contact:
Re: Set FullBackupDays
Thanks For Your Great answer It works correctly
Who is online
Users browsing this forum: No registered users and 18 guests