Solved

SQL recovery from database files

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

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.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

738 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