You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

💡 Did you know?

⏺ If you can't accept iCloud Terms and Conditions... Learn more >

⏺ If you don't see your iCloud notes in the Notes app... Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to Back Up iPhone to External Hard Drive via iTunes?

Hi there,

I want to be able to backup my iPhone 4 to an external harddrive since I don’t have enough space on my MacBook Pro hard drive, how do I dothat? I have already moved all the iTunes libraries and media folder to that externaldrive and need to know how to default the IPhone4 backup to the external drive.I am using iTunes 10.

iPhone 4, iOS 4.3.3, iTunes 10

Posted on Oct 21, 2011 8:51 PM

Reply
52 replies

Dec 25, 2014 6:33 AM in response to jareds

I got the same error (-bash: -s: command not found), and tried a couple of things, which got it to work:


1) type in "sudo" before the ln command (so you can be authenticated as a superuser)


2) I dragged and dropped the actual folders into the terminal command line. This will ensure that the correct filename structure is utilized.


Backup works nicely now.

Jan 1, 2015 8:31 AM in response to rtikoo

@rtikoo

This worked to drag the folders into terminal.

Did not use sudo

One more update to the syntax:

ln -s /Volumes/ExtDrive/Backup ~/Library/Application\ Support/MobileSync/Backup

Drop the "Backup" at the end, so terminal will create a link to the external drive in the MobileSync folder then it works perfectly.

Use:

ln -s /Volumes/ExtDrive/Backup ~/Library/Application\ Support/MobileSync/

Also, spaces are represented by "/" with a space. So the directory "Application Support" is written "Application/ Support". Dragging the folders in will solve any syntax issues!

Feb 13, 2015 3:39 PM in response to Chewbunny

Hey there!


I'm not extremely computer literate.. could you explain the final step a little further?:


Create a new linked folder to the external drive (I assume the external drive is called ExtDrive

  • First create a folder called iTunesBackup on the external drive
    • mkdir /Volumes/ExtDrive/iTunesBackup
  • Now create a link between where iTunes thinks the backups are and the external drive
    • ln -s ln -s  /Volumes/ExtDrive/Backup ~/Library/Application\ Support/MobileSync/Backup (edited per Collin Mel)


I created the iTunesBackup folder on my external drive (my drive is titled My Book for Mac). I'm not sure what the bullet point below means - specifically the mkdir portion.. is that what I would now type in when I key Command+Shift+G? I'm not sure how to create a link and what the -s means either.


Thank you so much, this is going to help out a ton!

Oct 27, 2015 12:11 PM in response to NinaK

Here is the final solution with Terminal commands only, just follow this guide but replace path to your own external drive:


  1. Create a folder named "Backup" on your external drive:
    mkdir /Volumes/<ExternalDriveName>/Backup
  2. Rename the local Backup folder:
    mv ~/Library/Application\ Support/MobileSync/Backup ~/Library/Application\ Support/MobileSync/Backup2
  3. Create symlink:
    ln -s /Volumes/<EternalDriveName>/Backup ~/Library/Application\ Support/MobileSync/
  4. Launch iTunes and do your backup!
  5. Applause 😉

Jan 24, 2016 6:28 PM in response to martinizi

Thanks for all the advice. I am not computer literate and have been having some trouble.


I opened TERMINAL and used the command ;

mkdir /Volumes/<ExternalDriveName>/Backup

But replaced with my external hard drive name so pasted into terminal;

mkdir /Volumes/<COGGS>/Backup


However it says; -bash: COGGS: No such file or directory


I have tried with my other external hard drive and am having the same problem.


One of my drives is MS-DOS FAT32 format and the other MAC OS Extended (Journaled) but neither works.


I have a MAC Air and am using OS X Yosemite Version 10.10.4


I have never used the Terminal Application so maybe I am doing something wrong. When I open Terminal it already has the MyName-MacBook-Air:~ MyName$ and I am pasting the commands after this?


Any help/suggestions?

Jan 27, 2016 6:52 AM in response to NinaK

I tried everything in this thread - thank you all - but still couldn't get it to work. Finally I followed this video on youtube https://youtu.be/Cw9jpqORRzk and it worked. Might come in handy with anyone struggling with the instructions here. For those of us who are not used to using Terminal it might be useful to let you know that I found out that if any folder in the file path is composed of two words with a space in the middle, say like my external hard drive is called <External HD>, you have to write it in quotation marks thus "External HD". Here is what I ended up typing in Terminal for your reference


ln -s /Volumes/"External HD"/"iTunes Backups"/Backup ~/Library/"Application Support"/MobileSync


Hope this helped the few of you still struggling. Cheers.

Jan 28, 2016 9:31 AM in response to armmangi

First, thanks for all the helpful responses in this thread.


I successfully ran one backup using martinizi's terminal commands from 27 Oct 2015.


Two days later, I'm getting an error that reads: "iTunes could not back up the iPhone '<iPhone Name>' because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPhone, then try again."


Instead of deleting the backup file (for safety reasons!), I moved it to a separate folder, so that iTunes would not find it where it was looking for previous backups. The only changes I have made are adding an SMS export app to the phone (which is requiring me to backup before processing) and unplugging and replugging the USB external drive I used for the original backup.


Any thoughts or help would be appreciated!

Feb 12, 2016 8:51 AM in response to Kappy

Doesn't that move the entire iTunes Library to the hard drive so the external drive has to be connected to use iTunes? If so, that won't work for me. Like all my backups, I just want it on an external drive... with 128gb iPhone 6s, a 128 Gb iPad Pro, a 64 Gb iPad, I have no room on my computer to do my job. And there is not a drive large enough for my MacBook Pro. I have the largest drive installed.


So this is what I want to do:

1. Keep iTunes on my computer

2. Backup my devices (iPhone, iPad Pro and iPad) to an external drive.


I would prefer not to use terminal because the last time I followed advice on a board I erased important info b/c of a syntax error! ;-)

How to Back Up iPhone to External Hard Drive via iTunes?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.