Solved

SQL recovery from database files

Posted on 2009-04-07
2
177 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
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.

828 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