Solved

recovery mode of database at last service startup

Posted on 2011-09-16
4
340 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
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.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

726 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