Information about database devices is stored in the dump header.
This information, along with segment maps, are used to generate a sequence of disk init, sp_cacheconfig, and disk init, create database, and alter database commands for the target database during dump image creation.
with headeronly returns the header information for a single file. If you do not specify a file name, with headeronly returns information about the first file on the tape.
The header indicates whether the dump is for a database or transaction log, the database ID, the file name, and the date the dump was made. For database dumps, it also shows the character set, sort order, page count, and next object ID. For transaction log dumps, the header shows the checkpoint location in the log, the location of the oldest begin transaction record, and the old and new sequence dates.
load database mydb from "/dev/nrmt4" with headeronly
load database mydb from "/dev/nrmt4" with headeronly, file = "mydb9229510945"
Backup Server session id is: 44. Use this value when executing the 'sp_volchanged' system stored procedure after fulfilling any volume change request from the Backup Server.
Backup Server: 4.28.1.1: Dumpfile name 'mydb9232610BC8 ' section number 0001 mounted on device 'backup/SQL_SERVER/mydb.db.dump'
This is a database dump of database ID 5 from Nov 21 1992 7:02PM.
Database contains 1536 pages; checkpoint RID=(Rid pageid = 0x404; row num = 0xa); next object ID=3031; sort order ID=50, status=0; charset ID=1.