How to change iPhone backup location on Windows?

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 back up the iPhone data to another location?


Solution 1:

According to this article you can't change the iTunes behavior. However, you can use a feature of NTFS to point that folder to another drive. This feature is typically called a "junction".

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 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.

NOTE 3: If you installed iTunes from the Windows Store, the path to the backup files will be: C:\Users\username\Apple\MobileSync\Backup

Solution 2:

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\(USERNAME)

  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.

Solution 3:

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
    

Solution 4:

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

Solution 5:

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/