Varun Dhawan's Blog

Hands-on with SQL Server

TRANSACTION LOG BACKUP and RESTORE SEQUENCE: Myths & Truths

TRANSACTION LOG BACKUP and RESTORE SEQUENCE: Myths & Truths

  • Comments 2

 

Hi Guys

In a recent issue with a customer, I came across a strange SQL belief (or say a DBA Myth) around SQL Server Transaction Logs Backup/Restore. Let me explain you what was the scenario and then let’s try attempting to break the myth with real testing.

SCENERIO:
-    Customer is taking FULL and TRANSACTION LOG (T-Log) backup of a critical database
-    Backup files are maintained on disk in sequential order
-    Due to a hardware failure (let’s assume), the database got crashed and customer decided to recover from the backups
-    Due to an another issue (assuming again!!!) the  most recent FULL backup file is LOST!. So customer is now only left with 1st FULL backup and successive T-Log backups
-    Customer is now confident that he will not be able to perform point-in-time recovery. “THIS is the MYTH

Read the complete latest POST on SQLServerFAQ and demystify this one

mythbusted

About SQLServerFAQ

SQLServerFAQ blog contains a plethora of information spread across various aspects of troubleshooting commonly encountered issues with SQL server. The posts are contributed by SQL PSS (Product Support) Engineering community.

Leave a Comment
  • Please add 6 and 2 and type the answer here:
  • Post
  • IF all the Log backups after the 1st full backup are available, inatact and usable then one can use them to restore the DB and point in time is possible.

  • Hi Monika,

    Yes, you are absolutely correct. So, over here everything depends upon BACKUP LOG CHAIN. Which means that even if any interim FULL and DIFF backups are missing, but T-LOG are intact, we can do point-in-time recovery.

    Cheers!!

    Varun

Page 1 of 1 (2 items)