Link to home
Start Free TrialLog in
Avatar of jyoung127
jyoung127

asked on

Help with Restoring of SQL log files

I backup log files every 30  minutes with a full that occurs at night. If I need to restore the backup to the current time is there a program that will help me to restore the SQL data with all the log files?
 

Windows SQL 2014
ASKER CERTIFIED SOLUTION
Avatar of Deepak Chauhan
Deepak Chauhan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jyoung127
jyoung127

ASKER

Thanks I guess I should have known that!
Alright-

from UI
First you have to restore full backup with select the option NO Recovery. -- now your database will not be accessible then

If you are taking the differential backup , restore it with the NO recovery option if no differential restore the tlog backup.



Restore the transaction log backup just after the full backup\Differential (if you are taking differentail) with NO Recovery option and restore the complete series of chain transaction log backup if any tlog backup is missing , you can not restore next Tlog backup which happen after the missing Tlog backup file, In short Tlog backup will restore in series.

Finally restore the Last one Transaction log backup with RECOVERY option.



Here is the complete testing scenario will help you how tlog backup chain work

http://blogs.msdn.com/b/sqlserverfaq/archive/2010/08/26/transaction-log-backup-and-restore-sequence-myths-amp-truths.aspx
Thank you very much!