Changes for page MI Restore to Staging From Live
Last modified by Phillip Swanepoel on 2026/06/09 12:46
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. rudim1 +XWiki.phillips - Content
-
... ... @@ -1,9 +1,12 @@ 1 1 2 2 3 +1. Pull newest scripts from repo using D:/ebsphere/devops/setup-new.ps1 3 3 1. Stop all services including web site for staging on VM 4 4 5 5 1. Backup Old DB to storage account 6 -11. disable encryption if enabled 7 +11. disable encryption if enabled, delete encryption key for DB 8 +111. TODO move to self managed keys 9 +11. enable compression! 7 7 11. container for client 8 8 9 9 1. Drop Old DB ... ... @@ -11,15 +11,22 @@ 11 11 12 12 1. Restore DB from Live from last PITR 13 13 14 -1. Run post restore access script sqlmi_accesss_SKL.sql 17 +1. Give yourself access to the admin group via the powershell script 18 + 19 +1. Wait for group policy SQL JOB [roughly 5-10 minutes] to create groups 20 + 21 +1. Run post restore access script [[SKL_sqlmi_accesss.sql - Repos (azure.com)>>url:https://dev.azure.com/ebsphere/ebsphere/_git/dbs?version=GBmaster&path=/src/setup_scripts/SKL_sqlmi_accesss.sql]] 15 15 11. [TODO] source passwords from vault 16 -11. set clearLogins = 123 +11. set clearLogins = 2 17 17 11. TODO 18 18 26 +1. TODO - post restore script db settings etc 27 +11. recreate tblDocuments synonym 28 +11. tblAudit if applicable 29 + 19 19 1. Run dba.dbo.sp_scan_db script for '%[_]Live[_]%' 20 20 11. correct all config found and repoint to Staging 21 -11. TODO automate 22 - 32 +11. TODO automate (some of the config correcting statements can be generated using [dba].[devops].[sp_change_db_env_post_restore]) 23 23 1. Start all services 24 24 11. check logs to make sure no connections issues 25 25