Handle ab files - #115
Conversation
|
Looks good, haven't run it yet. Can you operate on the files within, without writing out the entire tar? I've been looking into the backup tar format since 2019 and there are quite a few things that can be parsed. Some databases are same as on disk, others are very different. I have some code here that reads data from key value pair backups which quite a few tools missed (at least when I wrote it). I should integrate that code here. There is more on my local pc, not in github. |
|
Tested with a sample ab file. Creates a tar file I can't open with any tool. |
Rather than write a new FileSeeker, I thought it would be better to just change it into a tar and then run the FileSeekerTar.
While it doesn't open the tar file, does ALEAPP run? Some tools (like 7zip it seems) refuse to open it whereas others don't complain (like Python tarfile). I've checked it against an AB file I've just generated from a phone running Android 11 and if worked fine. Try running a tar tzvf backup.tar.gz and seeing if it works on your test data. |
Added ability to handle android backups.
Note; the tar will be placed within the temp directory of output, and will be processed from there as if it was a normal tar.