Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

msdb database keep switching to Simple Recovery Mode ? 2

Status
Not open for further replies.

GJP55

Technical User
Joined
Feb 2, 2003
Messages
220
Location
GB
My msdb database keeps switching from full recovery Model to simple recovery model. This has happened twice last week.

Anybody got any idea's ?

Thanks
 
Give this a try!!!

First w/ MSDB set as FULL Recovery ... stop and restart SQL Server. 10 to 1 it will have reset the FULL back to Simple. This is tied to the issue of 'trunc. log on chkpt' being on.

SO lets do this ... Run this code in Query Analyzer:
Code:
use master
go
EXEC sp_dboption 'msdb', 'trunc. log on chkpt', 'false' 
go
sp_dboption 'msdb' 
go
Now Stop and Restart SQL Server.

Now set MSDB to FULL mode once again.

Stop and Restart SQL Server.

Recheck that MSDB is STILL set to FULL.

You should be good to go!


Thanks

J. Kusch
 
Thanks for your reply. Will try this after office hours. We have had to stop and start SQL Server twice this week as well so that must have been why.

Thanks for you help, much appreciated.
 
The MSDB database should be in simple recovery mode. There is no need to keep the transactions.

All system databases should be kept in simple recovery mode.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(My very old site)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top