Solved

Log Backup

Posted on 2016-11-24
2
33 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
[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 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 29

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
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.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

728 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