RESTORE HEADERONLY
inspects a backup
What changes
- Input
- backup device
- Output or change
- result set of metadata or verification status (REWINDONLY: tape state)
Syntax at a glance
RESTORE HEADERONLY FROM <backup_device> [ WITH {
Work example
An incident responder needs backup dates, type, database, and log sequence metadata.
Compare backup set headers across the proposed chain and record the required set identifiers.
Check your work The chosen sets belong to the expected database and form the required restore order.
Open Microsoft Learn for full syntax, permissions, and details for your version.