Solved

Log Backup

Posted on 2016-11-24
2
31 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 28

Accepted Solution

by:
Pawan Kumar 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

756 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