Backup iOS device on Linux easily

Even though officially iTunes isn’t available on Linux to help with iOS devices, it’s actually pretty simple to backup.
All you need is libimobiledevice.

Install it with: sudo apt install usbmuxd libimobiledevice6 libimobiledevice-utils

First we need to configure encryption. iOS won’t let you backup everything without encrypting the backup.
Type idevicebackup2 encryption on, and then authorize it with your phone’s password.

Once that’s done, we can backup. It’s as simple as running idevicebackup2 backup /path/to/backup

I made a tiny helper script to help you automate that, with a clear year/month/day path and provides a simple gui way (click the script file from file manager)

#!/bin/bash

# https://askubuntu.com/questions/661870/bash-script-doesnt-run-from-nautilus-but-does-run-from-terminal
run_in_terminal()
read more