

Ĭheck the Contents of the BAK File RESTORE FILELISTONLY FROM DISK = 'T:\DIRECTORY\DATAWAREHOUSE_FULL_20200115_190000.bak' This should provide you with a result set that looks like this: BackupName BackupDescription BackupType ExpirationDate Compressed Position DeviceType UserName ServerName DatabaseName DatabaseVersion DatabaseCreationDate BackupSize FirstLSN LastLSN CheckpointLSN DatabaseBackupLSN BackupStartDate BackupFinishDate. Reference: RESTORE Statements - VERIFYONLY (Transact-SQL) (Microsoft | SQL Docs) Check the BAK Fileheader RESTORE HEADERONLY FROM DISK = 'T:\DIRECTORY\DATAWAREHOUSE_FULL_20200115_190000.bak' Checking for sufficient space on destination devices.Some header fields of database pages, such as the page ID (as if it were about to write the data).

That the backup set is complete and all volumes are readable.If the check terminates abnormally then the cause could be because one of these checks have failed:Ĭhecks performed by RESTORE VERIFYONLY include: This should provide you with a result set that looks like this: The backup set on file 1 is valid. Verify BAK File RESTORE VERIFYONLY FROM DISK = 'T:\DIRECTORY\DATAWAREHOUSE_FULL_20200115_190000.bak' Perform the following commands in SQL Server Management Studio (SSMS) on the SQL Server instance you are trying to restore the database to.
