?
Solved

ROLLBACK A DATABASE SERVER IN 2008 SQL IN FULL RECOVERY MODEL

Posted on 2015-02-18
2
Medium Priority
?
65 Views
Last Modified: 2015-02-26
If you have a db in full recovery model that needs point in time recovery but the transaction log has not yet been backed up.  Can you rollback a database without using backup files.

for instance
transaction logs backup up once a day at 1 am.    the next day someone makes a big mistake at 3 pm.  can I roll back the database to 2:55 pm without using backup files?  or do I have to wait until the transaction log backs up at midnight.
or do I have to manually backup the transaction log now. and recovery using the backups.

Whats the best way to rollback a database in this instance
thank you!
0
Comment
Question by:jamesmetcalf74
[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 69

Accepted Solution

by:
Scott Pletcher earned 1000 total points
ID: 40617020
You have to manually back up the tran log, then recover the db.

If you are absolutely sure you want to recover that specific db, you can do a tail-log backup (that is, specify "WITH NORECOVERY", which will make the main db unusable until you recover it).
0
 
LVL 51

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 1000 total points
ID: 40618515
You can't rollback committed transactions. The only way it's really the restore option and for that as ScottPletcher mentioned you need to perform a tail-log backup so the period that you want to recover will be in the backup plan.

Anyway you should review you backup plan. A single transaction log backup by day doesn't seems a good idea. You should perform transaction log backups more often and at least a daily differential backup.
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)

Question has a verified solution.

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

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

752 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