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

June 13th, 2012 at 22:13 UTC by Steven J. Murdoch

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.

Entry filed under: Useful software

2 comments Add your own

  • 1. JeanJean  |  June 13th, 2013 at 13:05 UTC

    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. Andrew Myers  |  January 1st, 2014 at 19:35 UTC

    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.

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to the comments via RSS Feed


Calendar

June 2012
M T W T F S S
« May   Jul »
 123
45678910
11121314151617
18192021222324
252627282930