Hello,
I would like to find which backup method is used per job but I don't find it.
I just find (Get-VBRJobOptions -Job test).BackupTargetOptions.Algorithm with 2 values.
Synthetic when reverse incremental is check and all the other possibilities are "increment".
I would like to get :
Reverse incremental with / without active full
Incremental with/without Synthetic Full and With/without Active Full backup
I just need to know the powershell command to know which box are checked in the GUI. I find all datas I want for days / month.
-
- Veeam Legend
- Posts: 821
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
-
- Veeam Legend
- Posts: 821
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Backup method
OK I find it here :
SyntheticFullEnabled = (get-vbrjob).backuptargetoptions.TransformFullToSyntethic
ActiveFullEnabled = (get-vbrjob).backupstorageoptions.EnableFullBackup
SyntheticFullEnabled = (get-vbrjob).backuptargetoptions.TransformFullToSyntethic
ActiveFullEnabled = (get-vbrjob).backupstorageoptions.EnableFullBackup
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Backup method
Hi,
Exactly. Usually, I use the script below to view these options for all backup jobs:
Thanks,
Oleg
Exactly. Usually, I use the script below to view these options for all backup jobs:
Code: Select all
$jobs = Get-VBRJob | where {$_.JobType -eq 'Backup'}
foreach ($job in $jobs) {
$algorithm = $job.BackupTargetOptions.Algorithm
$syntheticFullsEnabled = $job.BackupTargetOptions.TransformFullToSyntethic
$activeFullsEnabled = $job.BackupStorageOptions.EnableFullBackup
$algorithmKind
if ($algorithm -eq 'Syntethic') {
$algorithmKind = 'ReverseIncremental'
}
else {
$algorithmKind = $algorithm
}
$job | select Name, @{n='Algorithm';e={$algorithmKind}}, `
@{n='SyntheticFullsEnabled';e={$syntheticFullsEnabled}}, @{n='ActiveFullsEnabled';e={$activeFullsEnabled}}
}
Oleg
-
- Veeam Legend
- Posts: 821
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Backup method
Thank you for your answer
Who is online
Users browsing this forum: No registered users and 16 guests