-
- Service Provider
- Posts: 25
- Liked: 2 times
- Joined: Jan 08, 2019 2:47 pm
- Full Name: Dominic Lapointe
- Contact:
Availability or private hotfix to allow old Veeam CMDLETs working on U4 Case#03399797
Hi guys,
We have custom web interface,billing, scripting that have been hardcoded and compiled with old Veeam CMDLETs which isn't available after Veeam Version 9.5.0.1038.
That being said, it represent a huge workload to recompile all the coding we put in place and we are currently stuck on Veeam version 9.5.0.1038 following the issue of Veeam changing CMDLETs.
We are facing a major Hyper-V replication issue #case 03399797 which is fixed in U4. The issue is also described here: post315243.html#p315130
So with that being said, would anybody know if there is any private hotfix that would make us able to use old Veeam CMDLETs on U4 ? Would anobody else interested into this also?
We have custom web interface,billing, scripting that have been hardcoded and compiled with old Veeam CMDLETs which isn't available after Veeam Version 9.5.0.1038.
That being said, it represent a huge workload to recompile all the coding we put in place and we are currently stuck on Veeam version 9.5.0.1038 following the issue of Veeam changing CMDLETs.
We are facing a major Hyper-V replication issue #case 03399797 which is fixed in U4. The issue is also described here: post315243.html#p315130
So with that being said, would anybody know if there is any private hotfix that would make us able to use old Veeam CMDLETs on U4 ? Would anobody else interested into this also?
-
- Product Manager
- Posts: 20400
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Availability or private hotfix to allow old Veeam CMDLETs working on U4 Case#03399797
What particular cmdlets are meant here? Thanks!
-
- Service Provider
- Posts: 25
- Liked: 2 times
- Joined: Jan 08, 2019 2:47 pm
- Full Name: Dominic Lapointe
- Contact:
Re: Availability or private hotfix to allow old Veeam CMDLETs working on U4 Case#03399797
Example:
Code: Select all
$Job.SetOptions($Options)
$ScheduleOptions.StartDateTimeLocal = $Date
$ScheduleOptions.OptionsDaily.Enabled = $True
$ScheduleOptions.OptionsDaily.Kind = "SelectedDays"
$ScheduleOptions.OptionsDaily.DaysSrv = "@(days)"
$ScheduleOptions.OptionsDaily.TimeLocal = $Date
-
- Product Manager
- Posts: 20400
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Availability or private hotfix to allow old Veeam CMDLETs working on U4 Case#03399797
I still can see those properties exposed in the CBackupJob object in Update 4.
So, can you provide the whole script and the goal you're trying to achieve using it?
This way we can identify the problematic spot and potentially suggest a way to fix it.
Thanks!
So, can you provide the whole script and the goal you're trying to achieve using it?
This way we can identify the problematic spot and potentially suggest a way to fix it.
Thanks!
-
- Service Provider
- Posts: 25
- Liked: 2 times
- Joined: Jan 08, 2019 2:47 pm
- Full Name: Dominic Lapointe
- Contact:
Re: Availability or private hotfix to allow old Veeam CMDLETs working on U4 Case#03399797
Hi,
I know they were not working anymore in initial update3 release. Have they been re-added in later update3 release or in update4?
I know they were not working anymore in initial update3 release. Have they been re-added in later update3 release or in update4?
-
- Product Manager
- Posts: 20400
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Availability or private hotfix to allow old Veeam CMDLETs working on U4 Case#03399797
As far as I remember we haven't changed anything for this matter, but if you can provide me with the script that doesn't work, I can take a look and suggest what else might be wrong with it. Thanks!
-
- Product Manager
- Posts: 20400
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Availability or private hotfix to allow old Veeam CMDLETs working on U4 Case#03399797
Ah, you were talking about .SetOptions() dynamic method, I thought you were more concerned with dailyoptions.
You're correct in saying that to apply changed job options you should use Set-VBRJobOptions cmdlet, as the said method doesn't work any longer. But using the dedicated cmdlet instead of leveraging object internal method has always been the recommended approach.
Thanks!
You're correct in saying that to apply changed job options you should use Set-VBRJobOptions cmdlet, as the said method doesn't work any longer. But using the dedicated cmdlet instead of leveraging object internal method has always been the recommended approach.
Thanks!
-
- Service Provider
- Posts: 25
- Liked: 2 times
- Joined: Jan 08, 2019 2:47 pm
- Full Name: Dominic Lapointe
- Contact:
Re: Availability or private hotfix to allow old Veeam CMDLETs working on U4 Case#03399797
We have a custom module/application created for Windows Azure Pack and Veeam integration. But here an example of a script (there's arround 22 powershell script behind) that was not working when we tried to update to version: 9.5.0.1536 (so working in Veeam 9.5 update2 but not 9.5update3)
So we needed to replace:
$Job.SetOptions($Options)
For:
set-vbrjoboptions -job $Job -Options $Options
Part of Code:
$Options = $Job.GetOptions()
$Options.BackupStorageOptions.RetainCycles = @(retentionCycles)
$Options.JobOptions.RunManually = @(isRunManualy)
#$Job.SetOptions($Options)
set-vbrjoboptions -job $Job -Options $Options
I remember when I verified different options from Veeam 9.5 u2 vs u3, these options were removed in powershell also:
EpPolicyOptions : Veeam.Backup.Model.CDomEpPolicyOptions
PolicyOptions : Veeam.Backup.Model.CDomPolicyOptions
Veeam 9.5 Update3 :
PS C:\Users\dlapointe> $Options
Options : Veeam.Backup.Common.CDomContainer
HvReplicaTargetOptions : Veeam.Backup.Model.CDomHvReplicaTargetOptions
ReIPRulesOptions :
BackupStorageOptions : Veeam.Backup.Model.CDomBackupStorageOptions
BackupTargetOptions : Veeam.Backup.Model.CDomBackupTargetOptions
HvSourceOptions : Veeam.Backup.Model.CDomHvSourceOptions
JobOptions : Veeam.Backup.Model.CDomJobOptions
ViNetworkMappingOptions : Veeam.Backup.Model.CDomViNetworkMappingOptions
HvNetworkMappingOptions : Veeam.Backup.Model.CDomHvNetworkMappingOptions
NotificationOptions : Veeam.Backup.Model.CDomNotificationOptions
JobScriptCommand : Veeam.Backup.Model.CDomJobScriptCommand
ViReplicaTargetOptions : Veeam.Backup.Model.CDomViReplicaTargetOptions
CloudReplicaTargetOptions : Veeam.Backup.Model.CDomCloudReplicaTargetOptions
ViSourceOptions : Veeam.Backup.Model.CDomViSourceOptions
GenerationPolicy : Veeam.Backup.Model.CDomGenerationPolicy
SanIntegrationOptions : Veeam.Backup.Model.CDomSanIntegrationOptions
ReplicaSourceOptions : Veeam.Backup.Model.CDomReplicaSourceOptions
SqlLogBackupOptions : Veeam.Backup.Model.CDomSqlLogBackupOptions
FailoverPlanOptions : Veeam.Backup.Model.CDomFailoverPlanOptions
ViCloudReplicaTargetOptions : Veeam.Backup.Model.CDomViCloudReplicaTargetOptions
EpPolicyOptions : Veeam.Backup.Model.CDomEpPolicyOptions
PolicyOptions : Veeam.Backup.Model.CDomPolicyOptions
Veeam 9.5 Update2:
PS C:\Users\dlapointe> $Options
Options : Veeam.Backup.Common.CDomContainer
HvReplicaTargetOptions : Veeam.Backup.Model.CDomHvReplicaTargetOptions
ReIPRulesOptions :
BackupStorageOptions : Veeam.Backup.Model.CDomBackupStorageOptions
BackupTargetOptions : Veeam.Backup.Model.CDomBackupTargetOptions
HvSourceOptions : Veeam.Backup.Model.CDomHvSourceOptions
JobOptions : Veeam.Backup.Model.CDomJobOptions
ViNetworkMappingOptions : Veeam.Backup.Model.CDomViNetworkMappingOptions
HvNetworkMappingOptions : Veeam.Backup.Model.CDomHvNetworkMappingOptions
NotificationOptions : Veeam.Backup.Model.CDomNotificationOptions
JobScriptCommand : Veeam.Backup.Model.CDomJobScriptCommand
ViReplicaTargetOptions : Veeam.Backup.Model.CDomViReplicaTargetOptions
CloudReplicaTargetOptions : Veeam.Backup.Model.CDomCloudReplicaTargetOptions
ViSourceOptions : Veeam.Backup.Model.CDomViSourceOptions
GenerationPolicy : Veeam.Backup.Model.CDomGenerationPolicy
SanIntegrationOptions : Veeam.Backup.Model.CDomSanIntegrationOptions
ReplicaSourceOptions : Veeam.Backup.Model.CDomReplicaSourceOptions
SqlLogBackupOptions : Veeam.Backup.Model.CDomSqlLogBackupOptions
FailoverPlanOptions : Veeam.Backup.Model.CDomFailoverPlanOptions
ViCloudReplicaTargetOptions : Veeam.Backup.Model.CDomViCloudReplicaTargetOptions
So we needed to replace:
$Job.SetOptions($Options)
For:
set-vbrjoboptions -job $Job -Options $Options
Part of Code:
$Options = $Job.GetOptions()
$Options.BackupStorageOptions.RetainCycles = @(retentionCycles)
$Options.JobOptions.RunManually = @(isRunManualy)
#$Job.SetOptions($Options)
set-vbrjoboptions -job $Job -Options $Options
I remember when I verified different options from Veeam 9.5 u2 vs u3, these options were removed in powershell also:
EpPolicyOptions : Veeam.Backup.Model.CDomEpPolicyOptions
PolicyOptions : Veeam.Backup.Model.CDomPolicyOptions
Veeam 9.5 Update3 :
PS C:\Users\dlapointe> $Options
Options : Veeam.Backup.Common.CDomContainer
HvReplicaTargetOptions : Veeam.Backup.Model.CDomHvReplicaTargetOptions
ReIPRulesOptions :
BackupStorageOptions : Veeam.Backup.Model.CDomBackupStorageOptions
BackupTargetOptions : Veeam.Backup.Model.CDomBackupTargetOptions
HvSourceOptions : Veeam.Backup.Model.CDomHvSourceOptions
JobOptions : Veeam.Backup.Model.CDomJobOptions
ViNetworkMappingOptions : Veeam.Backup.Model.CDomViNetworkMappingOptions
HvNetworkMappingOptions : Veeam.Backup.Model.CDomHvNetworkMappingOptions
NotificationOptions : Veeam.Backup.Model.CDomNotificationOptions
JobScriptCommand : Veeam.Backup.Model.CDomJobScriptCommand
ViReplicaTargetOptions : Veeam.Backup.Model.CDomViReplicaTargetOptions
CloudReplicaTargetOptions : Veeam.Backup.Model.CDomCloudReplicaTargetOptions
ViSourceOptions : Veeam.Backup.Model.CDomViSourceOptions
GenerationPolicy : Veeam.Backup.Model.CDomGenerationPolicy
SanIntegrationOptions : Veeam.Backup.Model.CDomSanIntegrationOptions
ReplicaSourceOptions : Veeam.Backup.Model.CDomReplicaSourceOptions
SqlLogBackupOptions : Veeam.Backup.Model.CDomSqlLogBackupOptions
FailoverPlanOptions : Veeam.Backup.Model.CDomFailoverPlanOptions
ViCloudReplicaTargetOptions : Veeam.Backup.Model.CDomViCloudReplicaTargetOptions
EpPolicyOptions : Veeam.Backup.Model.CDomEpPolicyOptions
PolicyOptions : Veeam.Backup.Model.CDomPolicyOptions
Veeam 9.5 Update2:
PS C:\Users\dlapointe> $Options
Options : Veeam.Backup.Common.CDomContainer
HvReplicaTargetOptions : Veeam.Backup.Model.CDomHvReplicaTargetOptions
ReIPRulesOptions :
BackupStorageOptions : Veeam.Backup.Model.CDomBackupStorageOptions
BackupTargetOptions : Veeam.Backup.Model.CDomBackupTargetOptions
HvSourceOptions : Veeam.Backup.Model.CDomHvSourceOptions
JobOptions : Veeam.Backup.Model.CDomJobOptions
ViNetworkMappingOptions : Veeam.Backup.Model.CDomViNetworkMappingOptions
HvNetworkMappingOptions : Veeam.Backup.Model.CDomHvNetworkMappingOptions
NotificationOptions : Veeam.Backup.Model.CDomNotificationOptions
JobScriptCommand : Veeam.Backup.Model.CDomJobScriptCommand
ViReplicaTargetOptions : Veeam.Backup.Model.CDomViReplicaTargetOptions
CloudReplicaTargetOptions : Veeam.Backup.Model.CDomCloudReplicaTargetOptions
ViSourceOptions : Veeam.Backup.Model.CDomViSourceOptions
GenerationPolicy : Veeam.Backup.Model.CDomGenerationPolicy
SanIntegrationOptions : Veeam.Backup.Model.CDomSanIntegrationOptions
ReplicaSourceOptions : Veeam.Backup.Model.CDomReplicaSourceOptions
SqlLogBackupOptions : Veeam.Backup.Model.CDomSqlLogBackupOptions
FailoverPlanOptions : Veeam.Backup.Model.CDomFailoverPlanOptions
ViCloudReplicaTargetOptions : Veeam.Backup.Model.CDomViCloudReplicaTargetOptions
-
- Service Provider
- Posts: 25
- Liked: 2 times
- Joined: Jan 08, 2019 2:47 pm
- Full Name: Dominic Lapointe
- Contact:
Re: Availability or private hotfix to allow old Veeam CMDLETs working on U4 Case#03399797
Is there a way to make the old method work in U4?
Who is online
Users browsing this forum: No registered users and 15 guests