Last modified by Phillip Swanepoel on 2026/06/09 12:46

<
From version < 1.5 >
edited by Rudi Marais
on 2024/05/13 12:33
To version < 10.1 >
edited by Nikhil Singh
on 2025/04/11 12:45
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -MI Restore
1 +MI Restore to Staging From Live
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.rudim
1 +XWiki.nikhils
Content
... ... @@ -1,24 +1,30 @@
1 1  
2 2  
3 -1. Backup Old DB to storage account
4 -11. container for client
3 +1. Pull newest scripts from repo using D:/ebsphere/devops/setup-scripts/setup-new.ps1
4 +1. Stop all services including web site for staging on VM
5 5  
6 -1. Stop all services including web site
7 -
8 -1. Drop Old DB
6 +1. Drop Old DB on Azure portal
9 9  11. drop existing connections
10 10  
11 -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
12 12  
13 -1. Run post restore access script sqlmi_accesss_SKL.sql
14 -11. source passwords from vault
15 -11. set clearLogins = 1
16 -11. TODO 
13 +1. Wait for group policy SQL JOB [roughly 5-10 minutes] to create groups
17 17  
15 +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
17 +11. [TODO] source passwords from vault
18 +11. set clearLogins = 2
19 +11. TODO
20 +
21 +1. TODO - post restore script db settings etc
22 +11. recreate tblDocuments synonym
23 +11. tblAudit if applicable
24 +
18 18  1. Run  dba.dbo.sp_scan_db script for '%[_]Live[_]%'
19 19  11. correct all config found and repoint to Staging
20 -11. TODO automate
21 -
27 +11. TODO automate (some of the config correcting statements can be generated using [dba].[devops].[sp_change_db_env_post_restore])
22 22  1. Start all services
23 23  11. check logs to make sure no connections issues
24 24  
image-20250411144502-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.nikhils
Size
... ... @@ -1,0 +1,1 @@
1 +67.7 KB
Content

Need help?

If you need help with XWiki you can contact: