{"id":21323793,"url":"https://github.com/richinfante/ibackuptool2","last_synced_at":"2025-07-12T05:31:57.628Z","repository":{"id":84437704,"uuid":"175124561","full_name":"richinfante/ibackuptool2","owner":"richinfante","description":"iOS backup utilities, written in rust","archived":false,"fork":false,"pushed_at":"2024-09-18T00:25:59.000Z","size":119,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-18T04:20:32.405Z","etag":null,"topics":["iphone-backup-extractor","iphone-backups","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richinfante.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-12T03:01:15.000Z","updated_at":"2024-07-12T22:34:37.000Z","dependencies_parsed_at":"2024-02-17T18:02:27.707Z","dependency_job_id":null,"html_url":"https://github.com/richinfante/ibackuptool2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richinfante%2Fibackuptool2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richinfante%2Fibackuptool2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richinfante%2Fibackuptool2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richinfante%2Fibackuptool2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richinfante","download_url":"https://codeload.github.com/richinfante/ibackuptool2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225798218,"owners_count":17525822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["iphone-backup-extractor","iphone-backups","rust"],"created_at":"2024-11-21T20:27:18.582Z","updated_at":"2024-11-21T20:27:19.161Z","avatar_url":"https://github.com/richinfante.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"A rust port of ibackuptool.\n\nThis project is currently under development and is not suitable for normal use yet.\n\nThis port will have a smaller scope than the original tool, with it's primary focus being file extraction.\nAdditional tools may be integrated as separate binaries.\n\nThe goals of this project are:\n\n- [x] backup manifest / info parsing\n- [x] backup decryption\n  - [x] implement aes key unwrap routines and manifest unlock\n  - [x] load manifest into memory as decrypted copy\n  - [x] file encryption key unwrap\n  - [x] api for file read access\n- [x] backup file extraction\n- [ ] provide rust library for custom use\n- [ ] compatibility with old backups via manifest.mbdb\n\n## Usage\n\n### 1. List Available Backups\n\n```bash\n$ ibackuptool2 ls\nid=6159067247acb912ceb1fbc0f54ae7d2dd693d87 name=iPad product=iPad Air 2 iOS=13.1 encrypted=true dir=\"6159067247acb912ceb1fbc0f54ae7d2dd693d87\"\n```\n\n### 2a. List Files in Backup\n\n```bash\n$ ibackuptool2 ls-files -b \"6159067247acb912ceb1fbc0f54ae7d2dd693d87\"\n# output format: id, domain, relativePath\n735f4f65879e10473dae4050ceee99fbb69de281: CameraRollDomain, Media\n# .. [truncated]\n```\n\n### 2b. Extract Files in Backup\n\n```bash\n$ ibackuptool2 extract -b \"6159067247acb912ceb1fbc0f54ae7d2dd693d87\" -o \"./output\"\n# (status output for each file that's extracted)\n```\n\n## Loading backups from non-default path\n\nInstead of a backup ID, you can also pass a file/folder to the `-b` option, which will attempt to load the backup from that path.\n\nFor example:\n\n`ibackuptool2 ls-files -b ~/Documents/zipped_backup.zip`\n`ibackuptool2 ls-files -b ~/Documents/zipped_backup_folder`\n\nIf you have a folder of backups stored in a non-default location, you can pass the `-d` option to find them:\n\n\n## Credits\n\nMuch of this is based off of my original implementation which was written in Javascript: https://github.com/richinfante/iphonebackuptools\n\nFor encryption code, I referenced the python implementation used in this post on stackoverflow: https://stackoverflow.com/questions/1498342/how-to-decrypt-an-encrypted-apple-itunes-iphone-backup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichinfante%2Fibackuptool2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichinfante%2Fibackuptool2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichinfante%2Fibackuptool2/lists"}