开发者

SQL Server Backup Set "Description"

When manually backing up a database in SQL Server 2008, there is an area to enter a Description for the backup set (below Name)

But how do I revi开发者_StackOverflowew the description when restoring a database?


I'm not sure if there is a way of getting it to show up in the UI. It seems to be viewable in the msdb.dbo.backupset table.


If you're trying to read the description from a backup created on a different server, you can't use the backupset table. Instead, use:

RESTORE HEADERONLY FROM DISK = 'C:\myfile.bak'

The BackupDescription column will contain the description:

SQL Server Backup Set "Description"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜