How to move your iPhone and iPad backups to an external drive

How to move your iPhone and iPad backups to an external drive

If you sync your iPhone, iPad or iPod touch on your Mac, you know that the first thing iTunes does is back it up (unless you've told it not to). Depending on the size of your device and how much data you have stored on it, this can gobble up dozens of gigabytes of space. Did you know you can move those backups to an external hard drive? You can, and we can walk you through how.

How to save space on your Mac by moving iPhone and iPad backups to an external drive

We've already gone over how to move your iTunes library to an external hard drive to save space, but did you know that iTunes may still be gobbling up space on your hard drive? That's because when you sync an iOS device on your Mac, it backs up the device to a hidden folder inside your home directory Library folder.

Hard drives on Macs are getting smaller as more and more systems use solid state storage, and our iOS devices are getting bigger. With some iPad and iPad mini models available in up to 128 GB of storage, that means iTunes can create some huge backup files.

Unfortunately, iTunes doesn't give us an easy way to move those backup files to an external drive. So we're going to use the Terminal app, found inside the Utilities folder, to do some UNIX command line magic to get it to work.

iTunes creates backup files for your iOS devices inside your home directory Library folder. The first step is to find that folder.

To access the Backup folder:

  1. Open the Finder.
  2. Hold down the Option key.
  3. Click on the Go menu.
  4. Select Library.
  5. Find Application Support and open it.
  6. Find MobileSync and open it.

That MobileSync folder contains a Backup folder, which includes iTunes' backup files for your iOS devices.

Attach your external hard drive. Drag that Backup folder to the external drive. You might want to put it in a clearly marked folder so you remember in the future what it's there for, like "ios_backup" or something similar.

Once you verify that it's been copied, rename but do note delete the original Backups folder (maybe call it old_Backups or something equally descriptive).

A note on aliases and symbolic links

Let me take a moment to explain this next step. We're going to use the Mac's Terminal app to create a symbolic link to trick iTunes into backing up onto your external drive rather than the boot drive.

Have you ever created an alias in the Finder? Aliases have been around since the classic Mac OS days. Aliases point to a file or folder that's kept elsewhere - it can be in another folder on your Mac's hard drive or another drive all together, even a server volume. They're handy ways of connecting to information you need to quickly and easily.

Unfortunately, some applications don't follow aliases properly. An older way of creating those sorts of connections is more reliable for actions like what we want iTunes to do: Symbolic links, or symlinks. They work at a low enough level that applications and operating system functions don't have as hard a time with them as they do aliases.

For the sake of the following example, I've unimaginatively named the external drive External. If yours is named differently, you'll need to change the /Volumes/External pathname in step 4.

To create a symbolic Backups folder link

  1. Open the Finder.
  2. Open the Utilities folder.
  3. Double-click on Terminal.
  4. type: ln -s /Volumes/External/ios_backup/Backup ~/Library/Application\ Support/MobileSync/Backup then press the Return key.
  5. Quit Terminal.

Terminal symlink command

If you kept that MobileSync folder open, you'll see a new file created in it that looks like this:

Backup symlink

The Finder says it's an alias. Don't be fooled. It's actually a symbolic link.

Now run iTunes and let it back up your iOS device. Make sure it's working by checking the creation date of the file you now see in the external drive backup folder. Assuming it's working, it's now safe for you to delete the old_Backups folder and get that precious hard drive space back.

One other thing: If it's unlikely that the external hard drive will be connected all the time, I'd recommend keeping iTunes from backing iOS devices automatically. To do so:

  1. Open iTunes.
  2. Click on the iTunes menu and select Preferences.... (Alternately, hold down the Command key and type ,.)
  3. Click the Devices tab.
  4. Check Prevent iPods, iPhones and iPads from syncing automatically.
  5. Click OK.

Otherwise, when you try to back up your iPhone to a hard drive that's not connected, you're likely to see an error message that looks like this:

Could not backup

Hopefully you haven't run into any snags, but if you have any questions, let me know.

Peter Cohen

Managing Editor of iMore, Mac and gaming specialist and all-around technologist. Follow him on Twitter @flargh

More Posts

 

20
loading...
0
loading...
56
loading...
0
loading...

← Previously

Big Nerd Ranch hits the road this fall to teach iOS 8 and Swift

Next up →

Review 32: The TV Show

Reader comments

How to move your iPhone and iPad backups to an external drive

16 Comments

Hi Peter. I've tried several times and the terminal keeps saying that there is not such file or directory when I hit enter.
I've checked the spelling and of course I changed the name of the external drive.
Any suggestions?

Do you have any spaces in there, and are you observing capitalizations properly? Spaces need to be parsed using a leading backslash so the file system will interpret the character literally: try a leading backslash if there is a space in your folder or volume name. For example: "My Folder" would be "My\ Folder" in the pathname.

Additionally, you can drag and drop the files rather than typing the the path and name. Follow Peter's instructions, but drag the renamed backup in the appropriate spot and remove the "old_" from the name it inputted for you.

If your PC is having problems communicating back and forth with your iPhone

and you want to transfer a back up stored on the hard drive

to an external

and then to a different PC

to attempt to restore from back up,

how would that work?

That's a much simpler solution. Just copy your iPhoto library in your pictures folder to a spot in your external drive. Then delete your iPhoto library from your Macintosh HD and open iPhoto. iPhoto will then prompt you what library you would like to open since the old one is gone and you select the one whose path shows the external drive.
Alternatively, you can change libraries in the file menu by selecting "Switch Libraries..."

Hi there, Peter. I have followed all your instructions; I had a backup file automatically created in MobileSync after following all the steps BUT neither my iPad mini nor my iPhone 5s are able to sync to or even recognize my external memory storage. Everytime I try to backup half way the process I get a message saying that "iTunes could not back up the iPad (or iPhone) because the backup was corrupt or not compatible with the iPad (or iPhone). Yes, I ticked the box in Devices Preferences. I even deleted the old backups I had, just in case they were somehow conflicting with the whole process, to no avail. FYI: my iTunes is up to date, I updated to iOS 8 on both the iPad mini and the iPhone 5s. The iPad had a backup on iTunes (now deleted) but as soon as I updated it with iOS 8, I got the above mentioned message everytime I plugged it into iTunes and still get sporadically another one saying that I have no SIM. Yes, I don't. And I know I don't! The 5s was brand new and had never been backed up. iTunes just refuses to do it. Any help would be very much appreciated. Thanks.

Hiya, Peter. I'm having a problem somewhat similar to "aiwama." I've completed the Terminal process successfully: I confirmed that there's a symbolic link under Library/Application Support/MobileSync and the Terminal command worked.

I also confirmed that my previous backups have been deleted through iTunes and that I'm not syncing automatically upon connection of my iPhone. The external drive is connected.

I'm getting that same error window that you have at the end of your post about a corrupt backup. For reference, I'm running 10.9.4, with iTunes 11.3.1 (there's an update, but I have no room to download it), and iOS 8.0.2.

Any suggestions?

I was having the same error, but I realized I missed this bit in the post:

"Attach your external hard drive. Drag that Backup folder to the external drive. You might want to put it in a clearly marked folder so you remember in the future what it's there for, like "ios_backup" or something similar."

It worked when I made a folder on the external drive called "ios_backup" and copied the "Backup" folder from iTunes in there.

Peter mentioned renaming the "Volumes/External" but if you chose a folder name other than "ios_backup", you'll need to update that part of the path in the Terminal command as well for the link to work.

Hello Peter. Thank you for the great info! Unfortunately i get the same error message after several attempts- the same one you have above... (backup corrupt or not compatible) Here is what I paste into the command terminal

ln -s /Volumes/My\ Passport\ for\ Mac/ios_Backup/Backup ~/Library/Application\ Support/MobileSync/Backup

Suggestions?