SQL Backup files, distinguish partial and full backup files
Posted
by ccook
on Stack Overflow
See other posts from Stack Overflow
or by ccook
Published on 2009-08-30T22:21:04Z
Indexed on
2010/05/31
1:52 UTC
Read the original article
Hit count: 344
I have scheduled backups running through SQL Agent, with Full Backups nightly, and differential backups hourly. Is there a way to determine which of the backup files is the Full backup, and which is the latest differential?
Intuitively, it would seem the largest backup within 24 hours is the full, and the latest smaller backup is the partial. However, this isn't robust.
Is there a way to probe the backup file to check the backup type? (Preferably in c#)
© Stack Overflow or respective owner