|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SQL Server 2005 Backup DevicesOne of my users was equiring about this.
In SQL Server 2000 when you looked at the properties of a backup device, if you looked at the media contents the description header would be there and you could see the description you entered when you backed up the database. In SQL Server 2005 you can enter a description when backing up a database to a backup device, but when looking at the properties of the backup set you used, under backup sets there is no description header. Is there anyway we can view the description we enter when backing up a database to a backup set? Loren Z wrote:
> One of my users was equiring about this. USE msdb;> > In SQL Server 2000 when you looked at the properties of a backup device, if > you looked at the media contents the description header would be there and > you could see the description you entered when you backed up the database. > > In SQL Server 2005 you can enter a description when backing up a database to > a backup device, but when looking at the properties of the backup set you > used, under backup sets there is no description header. Is there anyway we > can view the description we enter when backing up a database to a backup > set? SELECT * FROM dbo.backupfile; --logical_name SELECT * FROM dbo.backupfilegroup; SELECT * FROM dbo.backupmediafamily ; -- logical_device_name SELECT * FROM dbo.backupmediaset; --description SELECT * FROM dbo.backupset; --name see Books Online topic: RESTORE HEADERONLY (Transact-SQL) |
|||||||||||||||||||||||