Solved

Log Backup

Posted on 2016-11-24
2
12 Views
Last Modified: 2016-11-24
hi experts

i am reading about Transaction Log Backup Strategies:
what's the mean?
.Enables point-in-time recovery
0
Comment
Question by:enrique_aeo
2 Comments
 
LVL 19

Assisted Solution

by:Kim Ryan
Kim Ryan earned 250 total points
ID: 41900984
It means you can restore the database to it's status at a certain time you specify (the point in time). For example, if you know you system was stable at 7:00 am but some corruption occurred after that but you don't know exactly when, then restore it to how it was at 7 am.
0
 
LVL 17

Accepted Solution

by:
Pawan Kumar Khowal earned 250 total points
ID: 41901070
For T-log backup I suggest you read this- <<Kimberley & Brent's Advice>>
 
http://www.sqlskills.com/blogs/kimberly/database-maintenance-best-practices-part-iii-transaction-log-maintenance/
https://www.brentozar.com/archive/2014/02/back-transaction-logs-every-minute-yes-really/

Enables point-in-time recovery
It means you can recover the data up to certain point, now that point can be up to the failure or the user can also specify the time.

1. Restore to the Point of Failure  
2. Restore to a Point in Time

1 . Restore to the Point of Failure

RESTORE LOG PawanDB FROM <backup_device_name> 
WITH NORECOVERY;

Open in new window


Ref more at - https://technet.microsoft.com/en-us/library/ms179451(v=sql.105).aspx

2. Restore to a Point in Time

RESTORE LOG PawanDB
FROM PawanBackups
WITH FILE=4, NORECOVERY, STOPAT = 'Mar 15, 2025 11:00 AM';

Open in new window


Ref more at - https://technet.microsoft.com/en-us/library/ms175093(v=sql.105).aspx

Hope it helps !!
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

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

708 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

15 Experts available now in Live!

Get 1:1 Help Now