locked
Format of the .dat files in the backup directory RRS feed

  • Question

  • I am writing an add-in and would like to be able to figure out things like the last successful backup for a system.  I have noticed that there appears to be some serialized data in some of the .dat files that points to this information.  I could not locate any SDK classes / methods that would get this information.  Does anyone know the formatting / serialization method for these files?  Note I don't want to change them, just access them for backup information.

    Thank you,

    Marty

    Monday, January 25, 2010 3:08 AM

Answers

  • Microsoft hasn't published any APIs that will let you find out the information you're looking for, I'm afraid. Probably the format of the backup database is considered proprietary. A user on the forums did, however, put some work in on reverse engineering the files; he has a blog over here.
    I'm not on the WHS team, I just post a lot. :)
    Monday, January 25, 2010 4:23 PM
    Moderator
  • If you have PP3 installed you can query the Health.xml file generated by the Media Center Connector service.  You might want to look at XSD in Visual Studio to create a Class File from the XSD (which can be generated from the XML using XSD).

    You can either access it at:
    C:\Inetpub\Intranet\health\health.xml

    Or via:
    http://localhost:55000/health/health.xml

    more info is in the following site by Sam Wood:
    http://www.tentaclesoftware.com/blog/archive/2009/11/28/64.aspx
    --
    • Proposed as answer by Al West Monday, January 25, 2010 6:00 PM
    • Marked as answer by Ken WarrenModerator Tuesday, February 2, 2010 4:03 PM
    Monday, January 25, 2010 6:00 PM

All replies

  • Microsoft hasn't published any APIs that will let you find out the information you're looking for, I'm afraid. Probably the format of the backup database is considered proprietary. A user on the forums did, however, put some work in on reverse engineering the files; he has a blog over here.
    I'm not on the WHS team, I just post a lot. :)
    Monday, January 25, 2010 4:23 PM
    Moderator
  • If you have PP3 installed you can query the Health.xml file generated by the Media Center Connector service.  You might want to look at XSD in Visual Studio to create a Class File from the XSD (which can be generated from the XML using XSD).

    You can either access it at:
    C:\Inetpub\Intranet\health\health.xml

    Or via:
    http://localhost:55000/health/health.xml

    more info is in the following site by Sam Wood:
    http://www.tentaclesoftware.com/blog/archive/2009/11/28/64.aspx
    --
    • Proposed as answer by Al West Monday, January 25, 2010 6:00 PM
    • Marked as answer by Ken WarrenModerator Tuesday, February 2, 2010 4:03 PM
    Monday, January 25, 2010 6:00 PM