Solved

MS SQL Point-In-Time Recovery from offline backup

Posted on 2014-12-30
3
129 Views
Last Modified: 2014-12-30
Hi,

If I have a snapshot backup or "offline backup"  of MS SQL 2008 R2 @ 11pm every night. We also plan having transaction log backup running every 2 hours - it is possible to achieve point-in-time recovery by restoring the offline backup, start in recovery mode and apply transaction log? Any special steps required?
0
Comment
Question by:Keng0499
3 Comments
 
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 250 total points
ID: 40523367
I believe not.

Firstly, you can't roll forward from a snapshot, so you can't use the transaction logs automatically to go forward to point-in-time recovery.

Secondly, please don't rely on snapshots as being your only backup. Using only this method, if the database becomes corrupted, then so could your snapshot.

Have a look at this page for more information: http://msdn.microsoft.com/en-GB/library/ms189281.aspx
0
 

Author Comment

by:Keng0499
ID: 40523371
Thanks for response.

I was not referring to the Database_Snapshot - it is more of a backup via SQL writer which allows restore back the MDF and LDF file.
0
 
LVL 69

Accepted Solution

by:
ScottPletcher earned 250 total points
ID: 40523881
You can't recover directly from those, as SQL does not allow "attach with norecovery" (maybe in SQL 2030 :-) ).

You could try attaching the files, backing that up, then restoring with norecovery so that you can apply the log file(s).  I don't know if that will work or not, but I can't think of anything else that would have a chance.  Be sure the db name is the same name as the original db, just in case.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

932 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now