RestoreReplay
1.0.0
DB(BackupType Manual) and AesKey used is not available, all the credential resources should be manually re-added -
which includes credentials resources and virtual gateway networkconnection credentials. If the BackupType is
NetworkController, then the
DB(BackupType Manual) and AesKey used is not available, all the credential resources should be manually re-added -
which includes credentials resources and virtual gateway networkconnection credentials. If the BackupType is
NetworkController, then the AesKey is extracted from the backup.
Input directory structure should not be modified. Following is an example of the IMOS DB directory structure. In this
case BackupDirectoryOrZipFile will be "C:\R_131705518767194909"
Directory: C:\R_131705518767194909
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 6/1/2018 10:47 AM 8192 edb.chk
-a---- 6/1/2018 10:44 AM 10485760 edb.log
-a---- 6/1/2018 10:43 AM 10485760 edb00000006.log
-a---- 6/1/2018 10:44 AM 10485760 edb00000007.log
-a---- 6/1/2018 10:35 AM 10485760 edbres00001.jrs
-a---- 6/1/2018 10:35 AM 10485760 edbres00002.jrs
-a---- 6/1/2018 10:43 AM 10485760 edbtmp.log
-a---- 6/1/2018 10:44 AM 16793600 ImosStore
-a---- 6/1/2018 10:36 AM 0 ImosStore.pat
Following is an example of NetworkController backup directory structure. In this case BackupDirectoryOrZipFile will be
"C:\NetworkControllerGeneratedBackup"
Directory: C:\NetworkControllerGeneratedBackup
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 5/31/2018 4:41 PM ApiService
d----- 5/31/2018 4:41 PM NamedPropertyStore
-a---- 5/8/2018 11:40 AM 11 VersionId
Installation Options
Owners
Package Details
Author(s)
- Microsoft-Sdn-DevTeam
Functions
FixPwdPath Initialize ValidateParameters PrepareBackup PerformPreRestore StartRestore RestartSDNApiPrimaryReplica PerformPostRestore GetOrPutProperty SetAndValidateSFProperty WaitForServiceFabricHealth ResetReplicas GenerateJsons ImportJsonInOrder RemoveLocalReferencesToGlobalResources ImportJson Invoke-WebRequestWithRetries Get-AesKey Write-Log Write-ExceptionLog Write-VerboseLog Cleanup ValidatePostExtractMultisiteConditions ValidatePreExtractMultisiteConditions
Dependencies
This script has no dependencies.
FileList
- RestoreReplay.nuspec
- RestoreReplay.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.2 | 121 | 9/6/2024 |
1.0.1 | 162 | 6/24/2024 |
1.0.0 (current version) | 295 | 12/27/2023 |