Build and prove a point-in-time restore plan
Inspect a backup chain, verify file and log sequence evidence, and rehearse a restore to a separate database name.
What you are trying to do
This is a guided recovery drill on an isolated SQL Server restore instance with an instructor-approved backup set. No backup path or production database is supplied, so the executable SQL field is empty.
Work through it
- Use the approved lab backup media. Run
RESTORE HEADERONLYto record backup type, database, backup start and finish times, first and last LSN, checkpoint LSN, and recovery fork information. - Run
RESTORE FILELISTONLYand map each logical file to a new lab file path. Confirm the files do not target an existing database's data or log files. - Run
RESTORE VERIFYONLYand record its result. It checks that the backup set is complete and readable, but it does not verify the internal structure of the restored data or prove the whole recovery chain. - Plan a restore under a new database name. Apply the full backup, the matching differential if used, then every required log backup in LSN order. Keep intermediate restores in NORECOVERY and recover only after the final required log.
- For a point-in-time drill, identify the supported STOPAT time and verify that the required log coverage includes it. Restore the chain in the isolated instance, then run DBCC CHECKDB and application-level row checks.
- Record backup identifiers, LSN continuity, file destinations, recovery point, restore output, and validation results. Microsoft documents the restore statements and what VERIFYONLY checks. RESTORE statements · RESTORE VERIFYONLY
Check your work
The written restore plan identifies one full base, a matching differential when present, and a gap-free required log sequence through the target recovery time. The lab restore uses a new database name and file paths, then passes DBCC CHECKDB and application-level checks. VERIFYONLY alone is not counted as restore proof.
Knowledge check
Commands in this lesson
Next lesson Audit effective permissions without changing access