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
Microsoft SQL Server

Avatar of undefined
Last Comment
jyoung127

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Deepak Chauhan

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jyoung127

ASKER
Thanks I guess I should have known that!
Deepak Chauhan

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
jyoung127

ASKER
Thank you very much!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23