Solved

Log Backup

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

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql user function 7 31
select over clause 1 40
Error in query 3 52
MS SQL Inner Join - Multiple Join Parameters 2 18
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
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.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
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, f…

911 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

23 Experts available now in Live!

Get 1:1 Help Now