|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
SQL Server 2000 Standard Edition auto-shutdown
Hi
Is there any way in SQL Server to stop all connections and put the database into single-user mode? I'm trying to produce a more guaranteed backup strategy. Backups and other maintenance always fail because of connections (i.e. the database is unable to go into single-user mode). I've changed my ASP applications to shutdown for a specific maintenance period, but I still seem to get the odd connection here and there Thanks in advance MK |
|
#2
|
|||
|
|||
|
Can't you just setup a maintenance plan that does backups automatically? I do that on my sql servers and have never had to worry about connections.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
||||
|
||||
|
Hi
If the database is being written to, the maintenance plan just stops with an error and does not backup the database MK |
|
#4
|
|||
|
|||
|
I've had a backup maintenance plan running for years on a sql2000 box and never had a problem. I'm sure that on some occasions there was db activity going on.
I just deal with piddly little servers though, perhaps someone with more sql admin experience has more tips. |
|
#5
|
||||
|
||||
|
Hi
Just a quick update... I've looked at my maintenance plan and as part of the nightly process, it also optimizes the database and checks the integrity (obviously everything is done in the correct order ie. integrity checks preceed backups, backups preceed optimizations etc.) I've switched everything but the database and transaction log backups and I'll let you know what happens. If this works I'm happy for the moment... Thanks for the input! MK |
|
#6
|
||||
|
||||
|
Hi
Yep - backups are not affected by user activity, only the optimizations etc. I can live without this for the moment as the files as pretty small and quick anyway Thanks for all your input MK |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > SQL Server 2000 Standard Edition auto-shutdown |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|