Scroll to navigation

idevicebackup2(1) General Commands Manual idevicebackup2(1)

NAME

idevicebackup2 - Create or restore backups for devices running iOS 4 or later.

SYNOPSIS

idevicebackup2 [OPTIONS] CMD [CMDOPTIONS] DIRECTORY

DESCRIPTION

Create or restore backup in/from the specified directory.

OPTIONS

target specific device by UDID.
use backup data from device specified by UDID.
request passwords interactively on the command line.
connect to network device.
enable communication debugging.
prints usage information.
prints version information.

COMMANDS

create backup for the device.
force full backup from device.
restore last backup to the device.
restore system files, too.
reboot the system when done.
create a copy of backup folder before restoring.
restore device settings from the backup.
remove items which are not being restored.
do not trigger re-installation of apps after restore.
supply the password for the encrypted source backup. If omitted, the password will be requested in interactive mode (-i), or it can be passed using the environment variable BACKUP_PASSWORD.
show details about last completed backup of device.
list files of last completed backup in CSV format.
unpack a completed backup in DIRECTORY/_unback_/
enable or disable backup encryption. The password will be requested in interactive mode (-i) if omitted, or it can be passed using the environment variable BACKUP_PASSWORD.
change backup password on target device. The passwords will be requested in interactive mode (-i) if omitted, or they can be passed using the environment variables BACKUP_PASSWORD (old password) and BACKUP_PASSWORD_NEW (new password) respectively.
enable or disable cloud use (requires iCloud account).

SECURITY CONSIDERATIONS

Passing passwords on the command line is not advised, since it might reveal the backup password to other users via process list or command line history. Use interactive mode (-i) or pass them via environment variable(s) as mentioned in the description of the respective commands above.

AUTHORS

Martin Szulecki

Nikias Bassen

ON THE WEB

https://libimobiledevice.org

https://github.com/libimobiledevice/libimobiledevice