← 返回命令列表

Linux command

idevicebackup2 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Create full backup

idevicebackup2 backup [backup-dir]

Restore from backup

idevicebackup2 restore [backup-dir]

List files in backup

idevicebackup2 list [backup-dir]

Backup specific device

idevicebackup2 -u [device-udid] backup [backup-dir]

Force full backup

idevicebackup2 backup --full [backup-dir]

Enable backup encryption

idevicebackup2 encryption on [password]

说明

idevicebackup2 creates and restores backups of iOS devices running iOS 4 and later. Part of the libimobiledevice suite. Supports encrypted backups, incremental backups, and restoring backups from different devices.

参数

-u, --udid _UDID_
Target specific device by UDID.
-s, --source _UDID_
Use backup data from device specified by UDID.
-i, --interactive
Request passwords interactively on the command line.
-n, --network
Connect to network device.
-d, --debug
Enable communication debugging.

FAQ

What is the idevicebackup2 command used for?

idevicebackup2 creates and restores backups of iOS devices running iOS 4 and later. Part of the libimobiledevice suite. Supports encrypted backups, incremental backups, and restoring backups from different devices.

How do I run a basic idevicebackup2 example?

Run `idevicebackup2 backup [backup-dir]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -u, --udid _UDID_ do in idevicebackup2?

Target specific device by UDID.