← All procedures
iosBackup.file
Find a file of an iPhone backup by its domain and relative path in Manifest.db
CLI- Package
- @procedures/ios-backup · README
- Path
["iosBackup","file"]- CLI
mark iosBackup file --domain <string> --relativePath <string>- As data
{"$proc":["iosBackup","file"],"input":{}}
Use it
In TypeScript
import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/ios-backup/register"; // registers its procedures
const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["iosBackup","file"], { domain: "<domain>", relativePath: "<relativePath>" });
console.log(JSON.stringify(result));From the command line
$ mark iosBackup file --domain <string> --relativePath <string>
As data, in a program
{
"$proc": ["iosBackup", "file"],
"input": { "domain": "<domain>", "relativePath": "<relativePath>" }
}Input
Output
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"minLength": 1,
"description": "The domain of the file in Manifest.db, for example HomeDomain"
},
"relativePath": {
"type": "string",
"minLength": 1,
"description": "The relative path of the file in its domain, for example Library/SMS/sms.db"
},
"backup": {
"description": "The backup folder (default: the newest backup in the roots)",
"type": "string",
"minLength": 1
},
"roots": {
"description": "The folders that hold the backup folders (default: the MobileSync folders of Windows and macOS)",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"domain",
"relativePath"
]
},
"output": {
"type": "object",
"properties": {
"backup": {
"type": "string"
},
"found": {
"type": "boolean"
},
"fileId": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"backup",
"found"
],
"additionalProperties": false
}
}