Comments
2 comments
-
Thank you for your post.
You could use the command RESTORE HEADERONLY which will display table of data retrieved (e.g. FirstLSN and LastLSN). But please be aware that this can take some time to run as it needs to parse the whole file to retrieve the info.
http://msdn.microsoft.com/en-us/library/ms178536.aspx -
Presently, SQL Backup cannot display the results of reading the backup file headers in table form.
Add comment
Please sign in to leave a comment.
For example, if I have some sqb files located in c:\temp, what's the easiest way to get the meta information(such as first lsn last lsn etc) in a easy to use form from them? The following code is currently what I have, but I have difficult in getting the individual item value. Hope you can give me some suggestions. Thanks.