Solved

MS SQL Point-In-Time Recovery from offline backup

Posted on 2014-12-30
3
140 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
[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
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:
Scott Pletcher 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

688 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