| Column name |
Description for SQL Server
backup sets |
| BackupName |
Backup
set name. |
| BackupDescription |
Backup set description. |
| BackupType |
Backup
type:
1 = Database
2 = Transaction log
4 = File
5 = Differential database
6 = Differential file
7 = Partial
8 = Differential partial |
| ExpirationDate |
Expiration
date for the backup set. |
| Compressed |
Whether
the backup set is compressed using software-based compression:
0 = No
1 = Yes |
| Position |
Position
of the backup set in the volume (for use with the FILE = option). |
| DeviceType |
Number
corresponding to the device used for the backup operation.
Disk:
2 = Logical
102 = Physical
Tape:
5 = Logical
105 = Physical
Virtual Device:
7 = Logical
107 = Physical |
| UserName |
User
name that performed the backup operation. |
| ServerName |
Name of
the server that wrote the backup set. |
| DatabaseName |
Name of the database that was backed up. |
| DatabaseVersion |
Version
of the database from which the backup was created. |
| DatabaseCreationDate |
Date and time the database was created. |
| BackupSize |
Size of
the backup, in bytes. |
| FirstLSN |
Log sequence number of the first log record in the
backup set. |
| LastLSN |
Log
sequence number of the next log record after the backup set. |
| CheckpointLSN |
Log sequence number of the most recent checkpoint at
the time the backup was created. |
| DatabaseBackupLSN |
Log
sequence number of the most recent full database backup. |
| BackupStartDate |
Date
and time that the backup operation began. |
| BackupFinishDate |
Date and
time that the backup operation finished. |
| SortOrder |
Server sort order. This column is valid for database
backups only. Provided for backward compatibility. |
| CodePage |
Server
code page or character set used by the server. |
| UnicodeLocaleId |
Server Unicode locale ID configuration option used
for Unicode character data sorting. Provided for backward compatibility. |
| UnicodeComparisonStyle |
Server
Unicode comparison style configuration option, which provides additional
control over the sorting of Unicode data. Provided for backward
compatibility. |
| CompatibilityLevel |
Compatibility level setting of the database from
which the backup was created. |
| SoftwareVendorId |
Software
vendor identification number. For SQL Server, this number is 4608 (or hexadecimal 0x1200). |
| SoftwareVersionMajor |
Major version number of the server that created the
backup set. |
| SoftwareVersionMinor |
Minor
version number of the server that created the backup set. |
| SoftwareVersionBuild |
Build number of the server that created the backup
set. |
| MachineName |
Name of
the computer that performed the backup operation. |
| Flags |
Individual flags bit meanings if set to 1:
1 = Log backup contains bulk-logged operations.
2 = Snapshot backup.
4 = Database was read-only when backed up.
8 = Database was in single-user mode when backed up.
16 = Backup contains backup checksums.
32 = Database was damaged when backed up, but the backup operation was
requested to continue despite errors.
64 = Tail log backup.
128 = Tail log backup with incomplete metadata.
256 = Tail log backup with NORECOVERY. |
| BindingID |
| Binding ID for the database |
|
| RecoveryForkID |
ID for the ending recovery fork. This column
corresponds to last_recovery_fork_guid in the backupset table. |
| Collation |
Collation used by the database. |
| FamilyGUID |
ID of the original database when created. This value
stays the same when the database is restored. |
| HasBulkLoggedData |
1 = Log backup containing bulk-logged operations. |
| IsSnapshot |
1 = Snapshot backup. |
| IsReadOnly |
1 = Database was read-only when backed up. |
| IsSingleUser |
1 = Database was single-user
when backed up. |
| HasBackupChecksums |
1 = Backup contains backup checksums. |
| IsDamaged |
1 = Database was damaged when
backed up, but the backup operation was requested to continue despite errors. |
| BeginsLogChain |
1 = This is the first in a continuous chain of log backups. A
log chain begins with the first log backup taken after the database is
created or when it is switched from the Simple to the Full or Bulk-Logged
Recovery Model. |
| HasIncompleteMetaData |
1 = A tail-log backup with
incomplete meta-data. |
| IsForceOffline |
1 = Backup
taken with NORECOVERY; the database was taken offline by backup. |
| IsCopyOnly |
1 = A copy-only backup. |
| FirstRecoveryForkID |
ID for the
starting recovery fork. This column corresponds to first_recovery_fork_guid in the backupset table. |
| ForkPointLSN |
If FirstRecoveryForkID is not equal to RecoveryForkID, this is the log
sequence number of the fork point. Otherwise, this value is NULL. |
| RecoveryModel |
Recovery
model for the Database, one of:
FULL
BULK-LOGGED
SIMPLE |
| DifferentialBaseLSN |
For a single-based differential backup, the value equals
the FirstLSN of the
differential base; changes with LSNs greater than or equal to DifferentialBaseLSN are included in
the differential. For non-differential backup types, the value is always
NULL. |
| DifferentialBaseGUID |
For a
single-based differential backup, the value is the unique identifier of the
differential base. |
| BackupTypeDescription | Backup type as string, one of:
DATABASE
TRANSACTION LOG
FILE OR FILEGROUP
DATABASE DIFFERENTIAL
FILE DIFFERENTIAL PARTIAL
PARTIAL DIFFERENTIAL |
| BackupSetGUID |
Unique identification number of
the backup set, by which it is identified on the media. |
| CompressedBackupSize |
Byte count of the backup set. For uncompressed
backups, this value is the same as BackupSize. |