Solved

recovery mode of database at last service startup

Posted on 2011-09-16
4
328 Views
Last Modified: 2012-05-12
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
Comment
Question by:25112
4 Comments
 
LVL 21

Expert Comment

by:JestersGrind
ID: 36551583
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
 
LVL 25

Accepted Solution

by:
jogos earned 250 total points
ID: 36552264
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
 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 250 total points
ID: 36552858
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
 
LVL 5

Author Comment

by:25112
ID: 36560992
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question