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)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. rudim1 +XWiki.nikhils - Content
-
... ... @@ -1,23 +1,19 @@ 1 1 2 2 3 +1. Pull newest scripts from repo using D:/ebsphere/devops/setup-scripts/setup-new.ps1 3 3 1. Stop all services including web site for staging on VM 4 4 5 -1. Backup Old DB to storage account 6 -11. disable encryption if enabled, delete encryption key for DB 7 -111. TODO move to self managed keys 8 -11. enable compression! 9 -11. container for client 10 - 11 -1. Drop Old DB 6 +1. Drop Old DB on Azure portal 12 12 11. drop existing connections 13 13 14 -1. Restore DB from Live from last PITR 9 +1. Restore DB from Live from last PITR or latest Full backup if DB age is not important 10 +- [[image:image-20250411144502-1.png||height="150" width="284"]] 11 +1. Give yourself access to the admin group via the powershell script - if needed 15 15 16 -1. Give yourself access to the admin group via the powershell script 17 - 18 18 1. Wait for group policy SQL JOB [roughly 5-10 minutes] to create groups 19 19 20 20 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]] 16 +11. This has to be run using SQLCMD mode on the script 21 21 11. [TODO] source passwords from vault 22 22 11. set clearLogins = 2 23 23 11. TODO ... ... @@ -28,8 +28,7 @@ 28 28 29 29 1. Run dba.dbo.sp_scan_db script for '%[_]Live[_]%' 30 30 11. correct all config found and repoint to Staging 31 -11. TODO automate 32 - 27 +11. TODO automate (some of the config correcting statements can be generated using [dba].[devops].[sp_change_db_env_post_restore]) 33 33 1. Start all services 34 34 11. check logs to make sure no connections issues 35 35
- image-20250411144502-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.nikhils - Size
-
... ... @@ -1,0 +1,1 @@ 1 +67.7 KB - Content