Extract NT Backup Files in Linux Using mtftar

Posted by gmendoza on January 26, 2008 under Tech Tips | 5 Comments to Read

If you would like to extract the contents of an NT backup (.bkf) file in Linux, mtftar is a utility that translates a Microsoft Tape Format (MTF) stream into the tar format. You can pick up mtftar from the authors site at http://gpl.internetconnection.net.

To get started, download the source code and compile.

$ wget http://gpl.internetconnection.net/files/mtftar.tar.gz
$ tar zxfv mtftar.tar.gz
$ cd mtftar
$ make
$ sudo cp mtftar /usr/bin/
- or -
$ su -c "cp mtftar /usr/bin/"

Using this utility is straight forward, as shown in the following example.

$ mtftar < MyBackup.bkf | tar xvf -
C:
C:/Stuff/Pictures/Misc Family Photos
C:/Stuff/Pictures/Misc Family Photos/First Bikes
C:/Stuff/Pictures/Misc Family Photos/First Bikes/First Bikes 001.jpg
C:/Stuff/Pictures/Misc Family Photos/First Bikes/First Bikes 002.jpg
C:/Stuff/Pictures/Misc Family Photos/First Bikes/First Bikes 003.jpg
C:/Stuff/Pictures/Misc Family Photos/First Bikes/First Bikes 004.jpg
C:/Stuff/Pictures/Misc Family Photos/First Bikes/First Bikes 005.jpg

An alternate mtf reader for Linux can be found here at http://laytongraphics.com/mtf/. The site also references a PDF written by Seagate that describes the MTF format if you're interested.

Be Sociable, Share!

Comments

  • lil said,

    This should really advocate using /usr/local/bin instead of /usr/bin

  • Derek Haden said,

    Brilliant!
    Dug me out of a hole.
    Many thanks to those that wrote this genius program.

  • Extract Microsoft backup files in Linux | Andrew Mercer's Blog said,

    [...] Extract NT Backup Files in Linux Using mtftar on Savvyadmin If you would like to extract the contents of an NT backup (.bkf) file in Linux, mtftar is a utility that translates a Microsoft Tape Format (MTF) stream into the tar format. You can pick up mtftar … [...]

  • Raffaello said,

    Hi,

    downloaded nad compiled mtftar no problem.
    When doing:
    mtftar < Systate.bkf
    I only obtain the message:
    scan-next: Success
    Bkf file was made with Win2003 NTBackup tool.

    Missing something?

    Thanx

    Raf

  • Jeffery said,

    NTBackup is a joke, especially when you just need to quickly search for something buried under incremental backups. I’m sure M$ doesn’t appreciate Alan’s contribution as much as I do! Thank you brotha!

Add A Comment

You must be logged in to post a comment.