idevicebackup2(1)
β¨ idevicebackup2 β the backup bestie β¨
okay so real talk, <pink>idevicebackup2(1)</pink> is that girl from the <lavender>General Commands Manual</lavender> who handles creating and restoring backups for devices running iOS 4 or later. she's giving main character energy in the libimobiledevice friend group and honestly? we're obsessed π
πΈ 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. that's it, that's the whole vibe β you point her at a DIRECTORY and she either packs everything up or puts it all back, no cap β¨
π OPTIONS π
-u,--udid UDIDβ target specific device by UDID. like, pick your fave by name (well, by UDID, but you get it).-s,--source UDIDβ use backup data from device specified by UDID. the backup source is a different device than the target, and that's valid πββοΈ-i,--interactiveβ request passwords interactively on the command line. safest way to do passwords, fr fr π-n,--networkβ connect to network device.-d,--debugβ enable communication debugging. for when you need to see everything, absolutely everything π«Ά-h,--helpβ prints usage information.-v,--versionβ prints version information.
π COMMANDS π
π backup
create backup for the device. she's collecting everything, periodt.
--fullβ force full backup from device.
π restore
restore last backup to the device.
--systemβ restore system files, too.--no-rebootβ do NO reboot the system when done. (yes, the manpage literally yells NO, we respect the drama.)--copyβ create a copy of backup folder before restoring. safety first bestie π--settingsβ restore device settings from the backup.--removeβ remove items which are not being restored.--skip-appsβ do not trigger re-installation of apps after restore.--password PWDβ 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 variableBACKUP_PASSWORD.
π info
show details about last completed backup of device.
π list
list files of last completed backup in CSV format. spreadsheet girlies rise π
π unback
unpack a completed backup in DIRECTORY/_unback_/
π encryption on|off [PWD]
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.
π changepw [OLD NEW]
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.
π cloud on|off
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.
like, don't do it bestie, your password would be out there for the whole group chat to see π use -i or the env vars, ok? π«Ά
π AUTHORS π
- Martin Szulecki
- Nikias Bassen
legends, genuinely. ate and left no crumbs π
π ON THE WEB π
okay that's the whole page!! this was <rainbow>idevicebackup2(1)</rainbow> from the <lavender>General Commands Manual</lavender>, and if you ever forget her name just remember: idevicebackup2(1), always in the footer, always iconic βπ§ββοΈπ
π¦ where this page comes from
- alpine 3.24: libimobiledevice-doc 1.4.0-r0 Β· LGPL-2.1-or-later
- arch rolling: libimobiledevice 1.4.0-2 Β· LGPL-2.1-or-later
- debian trixie: libimobiledevice-utils 1.3.0+git20250228-2 Β· LGPL-2.1-or-later
- epel 10: libimobiledevice-utils 1.3.0^20240916gited9703d-2.el10_0 Β· LGPL-2.0-or-later
- fedora 43: libimobiledevice-utils 1.3.0^20240916gited9703d-6.fc43 Β· LGPL-2.0-or-later
- fedora 44: libimobiledevice-utils 1.3.0^20240916gited9703d-7.fc44 Β· LGPL-2.0-or-later
- fedora 44: libimobiledevice-utils 1.4.0-3.fc44 Β· LGPL-2.0-or-later AND MIT AND Zlib
- nixos 26.05: libimobiledevice 1.4.0
- nixpkgs unstable: libimobiledevice 1.4.0
- ubuntu questing: libimobiledevice-utils 1.3.0+git20250228-2
- ubuntu resolute: libimobiledevice-utils 1.4.0-1build1 Β· LGPL-2.1-or-later
- ubuntu stonking: libimobiledevice-utils 1.4.0-1build2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms