1idevicebackup2(1) General Commands Manual idevicebackup2(1)
2
3
4
6 idevicebackup2 - Create or restore backups for devices running iOS 4 or
7 later.
8
10 idevicebackup2 [OPTIONS] CMD [CMDOPTIONS] DIRECTORY
11
12
14 Create or restore backup in/from the specified directory.
15
16
18 -u, --udid UDID
19 target specific device by UDID.
20
21 -s, --source UDID
22 use backup data from device specified by UDID.
23
24 -i, --interactive
25 request passwords interactively on the command line.
26
27 -n, --network
28 connect to network device.
29
30 -d, --debug
31 enable communication debugging.
32
33 -h, --help
34 prints usage information.
35
36 -v, --version
37 prints version information.
38
39
41 backup create backup for the device.
42
43 --full
44 force full backup from device.
45
46 restore
47 restore last backup to the device.
48
49 --system
50 restore system files, too.
51
52 --no-reboot
53 reboot the system when done.
54
55 --copy
56 create a copy of backup folder before restoring.
57
58 --settings
59 restore device settings from the backup.
60
61 --remove
62 remove items which are not being restored.
63
64 --skip-apps
65 do not trigger re-installation of apps after restore.
66
67 --password PWD
68 supply the password for the encrypted source backup. If omitted,
69 the password will be requested in interactive mode (-i), or it
70 can be passed using the environment variable BACKUP_PASSWORD.
71
72 info show details about last completed backup of device.
73
74 list list files of last completed backup in CSV format.
75
76 unback unpack a completed backup in DIRECTORY/_unback_/
77
78 encryption on|off [PWD]
79 enable or disable backup encryption. The password will be re‐
80 quested in interactive mode (-i) if omitted, or it can be passed
81 using the environment variable BACKUP_PASSWORD.
82
83 changepw [OLD NEW]
84 change backup password on target device. The passwords will be
85 requested in interactive mode (-i) if omitted, or they can be
86 passed using the environment variables BACKUP_PASSWORD (old
87 password) and BACKUP_PASSWORD_NEW (new password) respectively.
88
89 cloud on|off
90 enable or disable cloud use (requires iCloud account).
91
93 Passing passwords on the command line is not advised, since it might
94 reveal the backup password to other users via process list or command
95 line history. Use interactive mode (-i) or pass them via environment
96 variable(s) as mentioned in the description of the respective commands
97 above.
98
100 Martin Szulecki
101
102 Nikias Bassen
103
104
106 https://libimobiledevice.org
107
108 https://github.com/libimobiledevice/libimobiledevice
109
110
111
112 idevicebackup2(1)