So my wife got a new iPhone yesterday which of course means me playing tech support and me backing the old one up and restoring onto the new one. My wife has a Mac Air with a somewhat limited internal drive to there wasn’t enough space to back up the old iPhone (128gb). Easy I thought! I’ll just move the iTunes library folder to an external USB drive and the backup will go there. Wrong! The backups are not kept in the iTunes library so that didn’t work.
After a little research it turned out that iOS backups are kept in ~/Library/Application Support/MobileSync/Backup with each backup being a folder in that directory. Hmmm… Maybe a synlink would work? Oh yes! So here’s what I did:
- Delete older backups from iTunes using Preferences/Devices
- Quit iTunes
- Break open a terminal
- Move to the folder containing the Backup folder:
cd ~/Library/Application\ Support/MobileSync
- Remove the folder (now empty):
rm -rf Backup
- Create a symbolic link (synlink) to the directory on the external drive to hold the backup (here the USB drive is called MM):
ln -s /Volumes/MM/iOSbackups/ ./Backup
- Open iTunes and backup the iPhone and restore onto the new iPhone
- Quit iTunes
- Reverse the process (after having ejected the USB drive):
cd ~/Library/Application\ Support/MobileSync rm Backup mkdir Backup
- Done!