Viewing Information About Backups

After backups are created, you may need to view information about the backups, such as:

Listing Database and Transaction Log Files

Information displayed when listing the database and transaction log files in a backup includes the logical name, physical name, file type (database or log), filegroup membership, backup-set size (in bytes), the maximum allowed file size, and the predefined file growth size (in bytes). This information is useful to determine the names of the files in a database backup before restoring the database backup when:

Header Information

Viewing the backup header displays information about all Microsoft® SQL Server™ and foreign backup sets on the media. Information displayed includes the types of backup devices used, the backup types (database, transaction, file, or differential database), and backup start and stop date/time information. This information is useful when you need to determine which backup set on the tape to restore, or the backups that are contained on the media. For more information about a detailed list of the header information displayed, see RESTORE HEADERONLY.


Note Viewing backup header information can take a long time for high-capacity tapes because the entire media needs to be scanned to display information about each backup on the media.


Viewing the media header displays information about the media itself, rather than the backups on the media. Viewing the media header is quick because only the media header is read, located one time at the beginning of the media. Media header information displayed includes the media name, description, name of the software that created the media header, and the date the media header was written. For more information about a detailed list of the header information displayed, see RESTORE LABELONLY.

For example, restoring the backup header information for the following tape media containing two SQL Server backups and two foreign (Windows NT) backups retrieves information for all backup sets on the media, requires that the entire tape be scanned. However, restoring the media header requires only information from the single media header written at the beginning of the tape to be retrieved.

To view the data and log files in a backup set

         

To view backup header information

         

To view media header information

         

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.