E-Maculation
https://www.emaculation.com/forum/

Restoring files from AppleBackup archives
https://www.emaculation.com/forum/viewtopic.php?f=1&t=9615
Page 1 of 1

Author:  adespoton [ Mon Feb 26, 2018 5:18 am ]
Post subject:  Restoring files from AppleBackup archives

Back in the 90s, Apple released a tool with each Performa computer called Apple Backup that backed up the entire hard disk and/or the default System files to segmented files across floppy disks.

This software would only back up a SCSI disk, and would only restore to a SCSI disk when booted from the created boot floppy/CD.

I've just finished step 2 of 3 to restoring files from these backups :)

https://github.com/adespoton/kaitai-app ... ree/master

Step 1 allows us to parse any of the archive segments and read back the contents.

Step 2 was creating a parser for MacBinary III

Step 3 will be writing a tool that will take a folder full of Apple Backup segments and convert it to folders filled with MacBinary files :)

Feel free to try out the tools at the link above. You can load up the Kaitai Web IDE, load in the .ksy file and a backup file, and it'll read out the contents :) The format of MacBinary is very similar, so I'm planning to compile as a python script that'll just do a bulk convert. Then you just need to use Stuffit Expander to extract the MacBinary files once they're in the right place.

If anyone has a bit more spare time than me, feel free to beat me to the punch and/or make something fully featured and/or in a different language Kaitai Struct can compile to.

Author:  adespoton [ Thu Mar 08, 2018 10:51 pm ]
Post subject:  Re: Restoring files from AppleBackup archives

If anyone wants to help, I've now got the kaitai struct for AppleBackup and MacBinary formats on https://github.com/adespoton/kaitai-app ... ree/master and have also added some pseudocode for converting an AppleBackup set to a folder structure of MacBinary files. This should allow the intrepid coder to compile the structs to the language of their choice and then write the pseudocode equivalent in that language to do the extraction.

I'll eventually get around to writing this out in Python, but if anyone else has spare cycles, feel free to write something yourself. You can even commit it back to my project if you want :)

It's also possible to do the same thing but write from AppleBackup to disk image format; NDIF is a bit of a headache, so writing inside a DMG container would probably be more useful. The AppleBackup archives contain all the disk headers, so these can be written back to create a disk image that looks exactly like the original drive that was backed up with Apple Backup. I haven't done any of that :)

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/