Wiki source code of MI Restore to Staging From Live
Version 1.11 by Rudi Marais on 2024/05/13 14:00
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.2 | 1 | |
| 2 | |||
| |
1.7 | 3 | 1. Stop all services including web site for staging on VM |
| 4 | |||
| |
1.2 | 5 | 1. Backup Old DB to storage account |
| 6 | 11. container for client | ||
| 7 | |||
| 8 | 1. Drop Old DB | ||
| 9 | 11. drop existing connections | ||
| 10 | |||
| 11 | 1. Restore DB from Live from last PITR | ||
| 12 | |||
| |
1.4 | 13 | 1. Run post restore access script sqlmi_accesss_SKL.sql |
| |
1.7 | 14 | 11. [TODO] source passwords from vault |
| |
1.4 | 15 | 11. set clearLogins = 1 |
| |
1.8 | 16 | 11. TODO |
| |
1.2 | 17 | |
| 18 | 1. Run dba.dbo.sp_scan_db script for '%[_]Live[_]%' | ||
| 19 | 11. correct all config found and repoint to Staging | ||
| 20 | 11. TODO automate | ||
| |
1.3 | 21 | |
| 22 | 1. Start all services | ||
| 23 | 11. check logs to make sure no connections issues | ||
| |
1.2 | 24 | |
| 25 |