Backup files and system tables contain a wealth of information about what can be restored or already has been restored. You can retrieve information from the backup files by using variations of the
RESTORE command. These variations do not actually perform the restore operation but provide information about the backups that can be restored. The
RESTORE commands and some useful system tables are detailed in the following sections.
RESTORE FILELISTONLY command returns a result set that contains a list of the database and log files contained in the backup. An example of this command follows:
The results from this type of restore include the logical and physical filenames, the type of each ...