|
◆ mobilebackup_request_backup()
Request a backup from the connected device.
- Parameters
-
client | The connected MobileBackup client to use. |
backup_manifest | The backup manifest, a plist_t of type PLIST_DICT containing the backup state of the last backup. For a first-time backup set this parameter to NULL. |
base_path | The base path on the device to use for the backup operation, usually "/". |
proto_version | A string denoting the version of the backup protocol to use. Latest known version is "1.6" |
- Returns
- MOBILEBACKUP_E_SUCCESS on success, MOBILEBACKUP_E_INVALID_ARG if one of the parameters is invalid, MOBILEBACKUP_E_PLIST_ERROR if backup_manifest is not of type PLIST_DICT, MOBILEBACKUP_E_MUX_ERROR if a communication error occurs, MOBILEBACKUP_E_REPLY_NOT_OK
|