How to programmatically identify the type of an sqb file?
ogrishman
Posts: 81 Bronze 4
Hey,
How to programmatically identify the type of an sqb file? Such as whether it's an full backup or log backup.
Thanks.
How to programmatically identify the type of an sqb file? Such as whether it's an full backup or log backup.
Thanks.
Comments
where @type 1 = database full, 2 = database differential, 3 = log, 4 = file, 14 = file differential, 19 = partial, 20 = partial differential
Reading the file header:
Read value for byte offset 505. Values as above i.e. 1 = database full, 2 = database differential etc.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8