How to change the location of your iPhone backup and iTunes MobileSync Backup folder
My C:\Users\Scott\AppData\Roaming\Apple Computer\MobileSync was almost 25 gigs and on a 256 gig hard drive, that's 10% and that's tight. I wanted to move it but there's no officially support way.
Here's a way. It's totally not supported and could totally screw up your computer, so you've been warned. Remember that you googled your way to this blog and I'm just a random guy. No warranty, Dear Reader. If you are reasonably savvy and you understand that this Works On My Machine, then we'll get along fine.
Here's the idea. You'll move it to a drive with more space, but you'll LIE to iTunes using a little-used Windows Utility that will make a LINK between the folder iTunes expects to find and the folder you want your backups in.
- First, make sure iTunes isn't running
- Now, move the C:\Users\(yourname)\AppData\Roaming\Apple Computer\MobileSync\Backup\ folder to your preferred location. My was F:\iTunesMobileSync. This is up to you.
- Finally, start a command prompt as an administrator. You can do this from the Start Menu, type cmd.exe, then right click and select Run As Administrator. From the command prompt, create an junction point as I do below, just change f:\yournewfolder with your new location.
- One thing to to make sure of, don't end up with a folder like f:\yournewbackupfolder\Backup\Backup, so be sure to check how your folders ended up when you moved them.
mklink /J "C:\Users\yourname\AppData\Roaming\Apple Computer\MobileSync\Backup" "f:\yournewfolder\Backup"
You should see something like this in Windows 7. Note the little "shortcut" overlay icon? That's saying this is a link.
You can also confirm it with dir from the command line. Note the <junction>:
C:\Users\Scott\AppData\Roaming\Apple Computer\MobileSync>dir
Directory of C:\Users\Scott\AppData\Roaming\Apple Computer\MobileSync
11/25/2011 10:10 PM <DIR> .
11/25/2011 10:10 PM <DIR> ..
11/25/2011 10:10 PM <JUNCTION> Backup [f:\iTunesMobileSync\Backup]
0 File(s) 0 bytes
3 Dir(s) 97,594,851,328 bytes free
If you are still on XP and not Vista or Windows 7, you don't have mklink, but you can use the junction utility in the same way.
Again, if these instructions don't make sense do you, I urge you to find a techie and please, be careful. You've been warned. That said, I've just opened up 25 gigs on my C: drive, so I'm happy.
Related Links
- Windows Vista, Junctions and moving My Documents to another drive.
- More on Vista Reparse Points
- Guide to Freeing up Disk Space under Windows Vista
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
"How to open an alternate iTunes Library file or create a new one" - http://support.apple.com/kb/HT1589
Using this method you can put iTunes library on some shared drive and then share it between multiple computers, even Macs.
Regardless, it's an awesome tip!
Sometimes when updating to the latest iOS or if you have to restore your iPhone then backup again it will create a new backup.
I simply deleted all old backups and performed a backup from iTunes again - this got the folder back down to about 4/5gb.
Cheers
Alex
Windows XP: Documents and settings/Username/Application Data/Apple computer folder/Mobile Sync folder/ Backup Folder.
Windows Vista and Windows 7: Users/Username/AppData folder/Roaming folder/Apple Computer folder/Mobile Sync folder/Back up folder.
But you can change your iphone backup location according to your preference.
and how would you do that?
Moving iTunes library doesn't move your MobileSync backups...
True, for some reason devices with iOS 5.1 never even create a backup point in the folder available across the symlink even if you explicitly right click on the device and choose Back Up. Devices running iOS 4 are backing up just fine. And this sounds fishy since backup is IMO a function of iTunes application, not a device itself.
Since this one in not really a supported solution, one cannot file a bug reprt to Apple, I reckon. :-)
This is soooo frustrating.. I am literally unable to upgrade to iOS 5 because of this, unless I want to wipe the entire iPhone.
Any help greatly appreciated.
Erin Daly
mklink /J "%APPDATA%\Apple Computer\MobileSync\Backup" "M:\iTunesMobileSync\Backup"
The same technique applies to the outlook folder in Appdata/Microsoft and didnt have to bother about moving PSTs around (I have 5). Just move the folder and mklink :).
Comments are closed.