Interview Questions

1. What is Point in Time recovery?

Point in Time Recovery option gives us the ability to restore a database prior to an event that occurred that was detrimental to your database. In order for this option to work, the database needs to be either in the FULL or Bulk-Logged recovery model and you need to be doing transaction log backups.

High level steps to perform a point in time recovery. 

1. Take a tail log backup of the database which needs to be restored

2. Restore the most recent full backup with the NORECOVERY clause

3. Restore the most recent differential backup with the NORECOVERY clause

4. Restore all of the subsequent transaction log backups with the NORECOVERY clause except the last tail log backup

5. Restore the last tail log backup with the RECOVERY clause and a STOPAT statement if the entire transaction log does not need to be applied

By Hena Parveen 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started

Comments

Leave a Comment


Check out more interview questions

Based on your skills

MS SQL Server

1662791 1720 23 859

Angular

42499 92 0 46

Wordpress

34323 72 1 36