This script is needed to avoid a DR server manual restore and bring the DBs online.
The script I want it to do
1- by the time of emergency, SP will run and check the job history of restored jobs and identify which need to bring online(if it all then it will do for all)
2- after it identified which need to brought online
- click the restore job
- disable the restore job
- it will bring the database online.
Hello there i can read your corn job issue i am able to solve it but need full code so i can check what problem are occureing and solve it so if you can drop me message on chat so i can help you as soon as possible.
Online xpertz