SQL Flow Field Guide

RESTORE VERIFYONLY

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 VERIFYONLY FROM <backup_device> [ ,...n ] [ WITH { LOADHISTORY

Work example

An operator needs a preliminary media and backup-set check before a restore.

Review the result with the backup chain and follow it with a real isolated restore test.

Check your work The backup passes its media checks and a separate restore confirms recoverability.

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