How can you repair a corrupt ntbackup (.bkf) file?
772
I've got a corrupt ntbackup file that won't open in ntbackup.
There are various utilities that a google search turns up that say they can repair the files. Do I need to use one or is there a simple way of using ntbackup to do this?
Many thanks to Michael (aka mpears)
for referring me to the free NTBkup
software at
http://www.fpns.net/willy/msbackup.htm.
Using this software, I was able to
recover thousands of files from a
corrupted, 20-GB BKF file, saving
hundreds of dollars and an untold
number of hours in re-creating various
documents.
As alternative you could try this commercial software for BKF recovery.
Kernel BKF File Repair - Recovers and
repairs the files from damaged bkf
archives corrupted due to backup
interruption, virus attacks, crc
errors or backup software corruption.
It allows access to corrupt bkf files
which can not be restored using the
original backup software due to any
kind of corruption.
There is also an open source project on SourceForge: JMTF
If the backed up files within BKF are neither compressed nor encrypted then it is fairly easy - well not too hard - to extract single files manually by using grep, hexedit and dd.
STAN means "Standard stream", the byte count is in 8 bytes (little endian) that begin 4 bytes after "STAN", so in this example 00 44 bc 55 00 00 00 00 or 0x55bc4400 bytes. The file starts at 22 bytes after beginning of STAN, you can see the "!BDN" magic number in the PST Header. To extract the file:
Update: This forum thread on tek-tips has some very useful information, like
As alternative you could try this commercial software for BKF recovery.
There is also an open source project on SourceForge: JMTF
Good luck!
If the backed up files within BKF are neither compressed nor encrypted then it is fairly easy - well not too hard - to extract single files manually by using grep, hexedit and dd.
MTF Format: http://laytongraphics.com/mtf/MTF_100a.PDF
Example (assumes using bash shell): extract Outlook.pst
Inspect offsets.txt, find offset that is followed by "NACL" "CSUM" and "STAN"
STAN means "Standard stream", the byte count is in 8 bytes (little endian) that begin 4 bytes after "STAN", so in this example
00 44 bc 55 00 00 00 00
or 0x55bc4400 bytes. The file starts at 22 bytes after beginning of STAN, you can see the "!BDN" magic number in the PST Header. To extract the file:This will take some time if the file is large ... done!