Description of Issue
Non-Production database has been stuck in a restoring state since trying to run a refresh
Context
- Munis
- Refresh
- Database
- Restoring
Cause
Refresh of the Non-Production database from Production failed or the command window was closed before the refresh completed
Resolution
Perform the following for the database stuck in a restoring state.
- Open SQL Server Management Studio
- Right click the database and select Properties
- Make note of the database name and owner. You will need to re-enter them when re-creating the database.
- Delete the database
- Right click on the database and select Delete
- A database deletion window will pop up. Select the two checkboxes at the bottom of the general tab:
- Close existing connections
- Delete backup and restore history for database
- Recreate the database
- Right click on Databases and select New Database
- Enter Database Name and Owner (example: Database name: muntest; Owner: muntest)
- Run refresh script for the environment
Additional Information
Add Comment