OVERVIEW
This page will explain the steps to be followed when restoring a database
HOW TO
Copy backup file from Z:\Devs\JeremyF\Data folder of remote environment
- If today's backup file is needed reach out to Jeremy Ferrante and request they sync it to the QA machine being refreshed.
- Paste backup file to E:\DB\ of remote environment
- If there is no available space, delete the existing backup file prior to pasting new backup file
- Open Notepad
- Click File > Open
- Click Text Documents (*.txt) and select All Files (*.*)
- Scroll down the list and double-click db_restore.sql
-
Ctrl+A + Ctrl+C to copy all of db restore file
- Open Microsoft SQ Server
- In left menu, click Databases > Database Snapshots
- Right click + Delete the existing snapshot
- Click OK button
- Click New Query button
- Ctrl+V to paste db restore file from Notepad
- Click Execute button
- Process takes from 45 minutes to 90 minutes dependent upon remote environment
- The messages tab will populate with progress updates throughout the process
- The messages tab will populate with progress updates throughout the process
- Once the Query finishes running, contact a member of the QA team and request they ship the latest dev branch to the QA machine.
- Update the QA Slack channel description for the QA machine with the date of the data used for the refresh.