[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 366
  • Last Modified:

recovery mode of database at last service startup

is the info of what the databases has as recovery mode when the services last started up, stored anywhere in system tables for us to see?
0
25112
Asked:
25112
2 Solutions
 
JestersGrindCommented:
The are a number of ways to see what the current recovery model is.  I don't know of any to see what the recovery model used to be.  Why do you need to know that?  It's only 1 of 3 options.

Greg

0
 
jogosCommented:
Don't think it is stored at startup. But the backup-history can tell you when wich backup is taken. Compare that with other databases and you can see when it's changed.

To see info about all databases including recovery model

exec sp_helpdb


To see it for one db
 
exec sp_helpdb 'testdb'
0
 
Anthony PerkinsCommented:
Any change to the Recovery Model is saved in the SQL Server Error Log.

The entry will look something like this:

Message
Setting database option RECOVERY to SIMPLE for database YourDatabaseName.
0
 
25112Author Commented:
Greg, it is to find out when and who changed the recovery model..

both jogos method (from backup) and acperkins method works good.. thanks!
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now