Extracting Microsoft Windows Backup (BKF) files on Mac OS X with mtftar

With Windows NT, Microsoft introduced Windows Backup (also known as NTBackup), and it was subsequently included in versions of Windows up to and including Windows 2000, Windows XP and Windows Server 2003. It can back up to tape drives, using the Microsoft Tape Format (MTF), or to disk using the closely related BKF file format.

Support for Windows Backup was dropped in Vista but Microsoft introduced the Windows NT Backup Restore Utility for both Windows Vista/Windows Server 2008 (supporting disk and tape backups) and for Windows 7/Windows Server 2008 R2 (supporting disk backups only).

If you just need to restore a MTF/BKF file, the Microsoft-provided software above is probably the best option. However, if (like me) you don’t have a Windows computer handy, or you want to convert the backup into a format more likely to be readable a few years later, they are not ideal. That is why I tried out the mtftar utility, which converts MTF/BKF files into the extremely well-supported TAR file format.

Unfortunately, mtftar appears unmaintained since 2007 and in particular, it doesn’t build on Mac OS X. That’s why I set out to fix it. In case this is of help to anyone else, I have made the modified GPL’d source available on GitHub (diff). It works well enough for me, but use at your own risk.

5 thoughts on “Extracting Microsoft Windows Backup (BKF) files on Mac OS X with mtftar

  1. Hi,

    Can it recover ntds.dit file ? I don’t think so.
    Block type are missing (DBDB, DMDB ,DOLG)

    Error : [DBDB] unknown section type=36

    Can you provide a modification ?

  2. I cannot get this to compile. I have an iMac with the latest OS (Mavericks). “sudo make” craps out. I don’t have any idea what to tweak.

  3. I compiled this fine using xcode 5.1.1 on Mavericks and tests great. The make file did not work for me either.

  4. hi,

    this worked wonders…just want to drop a note of thanks even these many years later.
    thank you for doing this
    cheers

Leave a Reply

Your email address will not be published. Required fields are marked *