File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/ServiceManagement/RecoveryServices/Commands.RecoveryServices Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 166
166
<Compile Include =" PSRecoveryServicesClient\PSRecoveryServicesVMClient.cs" />
167
167
<Compile Include =" RecoveryServicesCmdletBase.cs" />
168
168
<Compile Include =" Properties\AssemblyInfo.cs" />
169
+ <Compile Include =" Service\GetAzureSiteRecoveryVault.cs" />
169
170
<Compile Include =" Service\NewAzureSiteRecoverySite.cs" />
170
171
<Compile Include =" Service\GetAzureSiteRecoverySite.cs" />
171
172
<Compile Include =" Service\SetAzureSiteRecoveryVM.cs" />
174
175
<Compile Include =" Service\NewAzureSiteRecoveryVault.cs" />
175
176
<Compile Include =" Service\GetAzureSiteRecoveryStorage.cs" />
176
177
<Compile Include =" Service\GetAzureSiteRecoveryStorageMapping.cs" />
177
- <Compile Include =" Service\GetAzureSiteRecoveryVaults.cs" />
178
178
<Compile Include =" Service\NewAzureSiteRecoveryStorageMapping.cs" />
179
179
<Compile Include =" Service\RemoveAzureSiteRecoveryStorageMapping.cs" />
180
180
<Compile Include =" Service\RemoveAzureSiteRecoveryNetworkMapping.cs" />
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ private void StartPEPlannedFailover()
159
159
else
160
160
{
161
161
var blob = new AzureFailbackInput ( ) ;
162
- blob . CreateRecoveryVmIfDoesntExist = true ;
162
+ blob . CreateRecoveryVmIfDoesntExist = false ;
163
163
blob . SkipDataSync = this . Optimize == Constants . ForDowntime ? true : false ;
164
164
request . ReplicationProviderSettings = DataContractUtils . Serialize < AzureFailbackInput > ( blob ) ;
165
165
}
@@ -215,7 +215,7 @@ private void StartRpPlannedFailover()
215
215
{
216
216
var blob = new AzureFailbackInput ( ) ;
217
217
blob . CreateRecoveryVmIfDoesntExist = false ;
218
- blob . SkipDataSync = true ;
218
+ blob . SkipDataSync = this . Optimize == Constants . ForDowntime ? true : false ;
219
219
request . ReplicationProviderSettings = DataContractUtils . Serialize < AzureFailbackInput > ( blob ) ;
220
220
}
221
221
}
You can’t perform that action at this time.
0 commit comments