Differential Backup Files

  • Is there a way given a full backup file and a differential backup file to query those files using RESTORE HEADERONLY (or something) and tell if that differential backup file can be applied to the full backup file?

    The Redneck DBA

  • Use RESTORE HEADERONLY. Check the DifferentialBaseGUID from the differential backup matches the BackupSetGUID from the full backup.



    Scott Duncan

    MARCUS. Why dost thou laugh? It fits not with this hour.
    TITUS. Why, I have not another tear to shed;
    --Titus Andronicus, William Shakespeare


  • Scott Duncan (3/31/2008)


    Use RESTORE HEADERONLY. Check the DifferentialBaseGUID from the differential backup matches the BackupSetGUID from the full backup.

    Thanks.

    Does it matter that it's a SQL 2000 database I'm restoring to a 2005 server?

    A differential backup I'm looking at has NULL for it's DifferentialBaseGUID.

    The Redneck DBA

  • Doesn't matter about the versions.

    Not sure about the other, though. Try it and see what happens.



    Scott Duncan

    MARCUS. Why dost thou laugh? It fits not with this hour.
    TITUS. Why, I have not another tear to shed;
    --Titus Andronicus, William Shakespeare


Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply