Solved

SQL recovery from database files

Posted on 2009-04-07
2
175 Views
Last Modified: 2012-05-06
I have a backup system which captures data at the block level, essentially providing me with a snapshot of the server hard drive at a given point in time.  This provides me with copies of the actual SQL databases and logs as they were at a pojnt in time.  Since these are not database and transaction log 'backups', I am not able to use traditional 'restore' methods like RESTORE DATABASE.  I figured out that I could shut down the SQL services ortake the database offline and replace the database and transaction log files on the server with the ones I had backed up.  I'm wondering if there is any better way to do this type of recovery.  The test I did was on a simple recovery test database, but I'm not sure how I would be able to roll back transaction logs or recover the metadata databases like master, model, msdb with what I have.
0
Comment
Question by:fcnetimg
2 Comments
 
LVL 22

Expert Comment

by:dportas
ID: 24096205
You need to check with the backup solution vendor. Unless their product is SQL Server aware then you can't expect anything like the protection you get from SQL Server backups with point in time recovery. Backup vendors often provide DBMS support as a separate product or optional module.
0
 
LVL 1

Accepted Solution

by:
fcnetimg earned 0 total points
ID: 25350682
There is no option to use SQL restore processes to recover a copy of the live database.  That only works with a SQL backup.  In the case of working with this block-level image like backup, the only option for recovery is to shut down the SQL server services and replace all of the applicable files from the backup copy.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
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.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

803 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