A simple tool for extracting files from iOS backup archive.
iOS backup files are not stored with their original directory layouts. Retrieving a particular file from the app sandbox can be difficult. This tool can extract all the files from a backup archive, and then you can view the sandbox filesystem as it was originally stored in your iPhone or iPad.
To save disk usage and speed up the extraction process, the extracted files are symbolic links to the original files in the backup archive.
For Mac users, you can download the pre-built binaries directly from releases page.
To build this locally, a nightly toolchain is required. You can install it using rustup
:
rustup toolchain install nightly
Then, you can build the executable:
cargo nightly build --release
Locate the backup archive you want to extract. Generally, you can find it under /Users/cyandev/Library/Application Support/MobileSync/Backup
. The archive is a directory that contains Manifest.db
file.
Backup files are grouped by domains, and you need to specify a domain name when extracting. To list all the domains available, run the command below:
ibackupextractor -l /path/to/your_backup_archive
To extract files, you need to specify a domain name and a destination path (an empty directory is recommended):
ibackupextractor -o /path/to/dest_dir /path/to/your_backup_archive SomeDomain
The extraction process can take minutes to finish, depends on the number of files.
In addition to the default symbolic-link mode, you can also change to copy mode by specifying -c
flag. In copy mode, all files are copied to the destination path, and then you can delete the original backup archive freely if you want.
This tool can only handle the backup archives that are unencrypted. To backup without encryption, uncheck the following option before starting:
No, the tool will not write to any file in the backup archive.
MIT