Solved

MS SQL Point-In-Time Recovery from offline backup

Posted on 2014-12-30
3
125 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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.
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.

757 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

19 Experts available now in Live!

Get 1:1 Help Now