SQL Flow Field Guide

RESTORE LABELONLY

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

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 LABELONLY FROM <backup_device> [ WITH {

Work example

A media inventory needs the label and backup media description.

Compare the media label with the incident ticket and the backup catalog before selecting a device.

Check your work The label identifies the expected media set and database backup.

Open Microsoft Learn for full syntax, permissions, and details for your version.