Quantcast
Channel: Which method is better to drop all user connections before a restore Change to single user mode or Take offline the database? - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 3

Answer by user507 for Which method is better to drop all user connections before a restore Change to single user mode or Take offline the database?

$
0
0

I tend to use OFFLINE strictly because on active instances trying to set a database to SINGLE_USER and be the single user that connects is not always consistent. If you set it offline that is it, it is offline.

I will also add that a better practice to do the restore is to have the application stopped or block access from the server. This will save from your error log filling up and prevent connections from occurring once the restore is complete.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>