iTunes creates quite a big backup directory on my C: drive whenever I back up my iPhone.

Is there a way to tell iTunes to backup the iPhone data to another location?

link|improve this question
feedback

9 Answers

up vote 18 down vote accepted

i read below article here: You can't change the iTunes behavior, as far as I can tell.

However, you can use a feature of NTFS to point that folder to another drive. This feature is typically called a "junction" or "symbolic link".

You can use this tool to create a junction: http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx

For example, let's say you want your iPhone backup to be D:\backup. You would do this:

  1. close iTunes
  2. Move the folder c:\documents and settings\user\application data\apple computer\mobile sync\backup to D:\
  3. Extract the junction.zip to the Desktop.
  4. Open a command prompt and enter these commands:

cd Desktop junction "C:\Documents and Settings\username\Application Data\Apple Computer\Mobile Sync\Backup" D:\backup

NOTE 1: Change "username" to match your current username, of course.

NOTE 2: I did not test the above! In general, junction points work OK, but only if programs don't mess with the linked directory (like rename or remove it). For example, if iTunes does something like delete the ...\Mobile Sync\Backup directory and then recreate it, it will no longer go to the D:\backups folder.

link|improve this answer
8  
+1 - but you don't need to download/install extra software for this on Windows Vista and 7. You can just use mklink from an elevated command prompt. – DMA57361 Aug 25 '10 at 10:19
Tanx for your help because I am MBP user I just use XP in old times and don't know features of vista and 7. – Am1rr3zA Aug 25 '10 at 12:25
2  
Or you could move the whole directory and just type: junction.exe "%APPDATA%\Apple Computer" D:\iTunes – Parsa Sep 26 '11 at 10:05
feedback

I finally managed it - the above steps were only half right for my Windows XP Professional system but thanks a lot anyway. Junction would not work from the desktop using those commands. To get it working I had to put the junction program file (junction.exe) into the c:\Documents and Settings\<username> folder.

The correct sequence is to close iTunes then:

  1. Download Junction from Sysinternals and unzip Junction.exe to your username folder, usually in here: c:\Documents and Settings\

  2. Create a folder for the backups in the desired new location. Move the existing iPhone "Backup" folder from its default location (C:\Documents and Setting\username\Application Data\Apple Computer\MobileSync) to your new location. In my example this is H:\Backups\Iphone Backup.

  3. Open a Command Prompt: Start > Run > cmd

  4. In the Command Prompt, type the following:

    junction "C:\Documents and Setting\<username>\Application Data\Apple Computer\MobileSync\Backup" "H:\Backups\Iphone Backup"
    

    (Replace your own file path where I have "H:\Backups\Iphone Backup")

  5. Close the Command Prompt. Open iTunes and start the backup.

You can move any of the other iPhone folders from their default locations using this approach.

link|improve this answer
feedback

Instead of using junction you can use the Windows command line as follows:

  1. Move the backup directory wherever you want (e.g. from C:.....Backup to D:\bu)
  2. Completely remove the Backup directory from C:
  3. Run the following command from Backup's previous location:

    mklink /J Backup d:\bu
    
link|improve this answer
feedback

For what it's worth, here are instructions for Windows Vista, 7 and Mac OS X as well: http://aaltonen.us/2011/01/03/change-the-location-of-your-iphone-backup/

link|improve this answer
feedback

It only took one HDD movie on my iPad to gobble up all the available space on my C: drive when the next sync occurred. Thanks to Paul and Wolfgang, I saved myself from buying a bigger SSD with one easy command:

junction "%appdata%\Apple Computer\MobileSync\backup" F:\Temp\backup
link|improve this answer
feedback

instead of "C:\Documents and Settings\username\Application Data\" you may use "%appdata%" which makes it easier do to copy and paste. E.g.: %appdata%\Apple Computer\MobileSync\backup

link|improve this answer
feedback

Wrong Command Line:

junction creates the link named after the first parameter and lets it point to the second.

The correct command line would be:

junction "C:\Documents and Settings\username\Application Data\Apple Computer\MobileSync\Backup" C:\Backup

iTunes now looks at "C:\Documents ...." which is a link to C:\Backup

link|improve this answer
feedback

Here is part of the help displayed by the program itself:

usage: junction <junction directory> <junction target>
       example: junction d:\link c:\windows

The junction directory is the 'fake' location, where you go to access the file/directory The junction target is where the file/directory actually resides (disk:\folder\file)

link|improve this answer
While I was able to make the junction work, iTunes still throws an error message about c:\ has only 5GB available and it needs 20GB (which IS available on L:\Backup - the target of the junction) I don't understand why it's not working (XP SP2, 1 drive, several NTFS partitions) – OUM Oct 16 '11 at 4:55
feedback

So, actually it should be:

junction I:\iTunesBackup "C:\Documents and Settings\<username>\Application Data\Apple Computer\MobileSync\Backup"
link|improve this answer
feedback

protected by Community Oct 26 '11 at 23:14

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.