iPhone Back Up To External Hard Drive OSX 10.14 Mojave

djtee1

macrumors newbie
Original poster
Oct 17, 2018
1
0
Los Angeles
Help Please.... Im backing my iPhone X up to my Mac Book Pro using iTunes 12.9. Also Im running Mojave. I watched all the videos on how to get to the "Library" then "Application Support" and then to "Mobile Sync." I then copied the "Backup" folder to my External Hard Drive. I then Erased the "Backup" folder from the Mobile Sync folder. After that I was told to paste something like this:



ln -s /Volumes/mac1tb\ 1/Backup /Users/djtee1tb/Library/Application\ Support/MobileSync/Backup



It was created with my external direction as well as my internal HD name. after 100 different variations and then pasting it into TERMINAL I get this:



"Operation Not Permitted"



I see older posts where this worked. Is it not working for me because I updated to Mojave? Am I doing something wrong? Im confused. Anyone have any idea how to accomplish this task using Mojave? Thanks in advance.
 

ferbandie

macrumors newbie
Aug 17, 2018
22
5
I have the same problems, with my older MacBook Pro and High Sierra I could do without problems but now I have the same message "Operation Not Permitted".
This is the command that I always have used:
ln -s /Volumes/My\ Passport/iTunesBackup/Backup/ ~/Library/Application\ Support/MobileSync/Backup
 

ferbandie

macrumors newbie
Aug 17, 2018
22
5
Try putting sudo in front of the command.
I have tried this command with sudo:
sudo ln -s /Volumes/My\ Book/iTunesBackup/Backup/ ~/Library/Application\ Support/MobileSync/Backup

I put the password and have the same message: Operation not permitted
 

MSastre

macrumors 6502a
Aug 18, 2014
598
266
Check out iMazing. Let's you do all sorts of things for you iPhone, including backups. I use the free version for importing custom ringtones.
 
  • Like
Reactions: CoastalOR

Analog Kid

macrumors 603
Mar 4, 2003
5,261
3,475
"Operation Not Permitted"
This was making me crazy, but I think I figured it out. Pre-Mojave, I had a symlink to another drive that had been working fine. I changed the name of that drive and the symlink broke. Then there was no way for me to update the symlink-- I kept getting the same "Operation not permitted".

iOS device backups are stored in ~/Library/Application Support/MobileSync/Backups

The MobileSync directory must be protected by the operating system to prevent tampering. I can't create a directory called "MobileSync" in the Application Support directory ("Operation not permitted"), but iTunes can. If I let iTunes create it then when I enter that directory in Terminal I even get an "Operation not permitted" when I try to list the directory.

I could probably solve this by going into Privacy settings and giving Terminal "Full Disk Access", but that seems like a dumb idea.

Finder seems to be able to manipulate this directory though. So after moving my backup directory to a different drive I went into Terminal and in some other directory (such as ~/) did:

ln -s /Volumes/NewDrive/Backups Backups

This created a symbolic link to the new backup directory in a completely useless place. Then I went into finder and dragged that symlink into the ~/Library/Application Support/MobileSync directory.

I've managed to sync and back up, so it looks like it worked.
 
Last edited:
  • Like
Reactions: macnuppy

ferbandie

macrumors newbie
Aug 17, 2018
22
5
This was making me crazy, but I think I figured it out. Pre-Mojave, I had a symlink to another drive that had been working fine. I changed the name of that drive and the symlink broke. Then there was no way for me to update the symlink-- I kept getting the same "Operation not permitted".

iOS device backups are stored in ~/Library/Application Support/MobileSync/Backups

The MobileSync directory must be protected by the operating system to prevent tampering. I can't create a directory called "MobileSync" in the Application Support directory ("Operation not permitted"), but iTunes can. If I let iTunes create it then when I enter that directory in Terminal I even get an "Operation not permitted" when I try to list the directory.

I could probably solve this by going into Privacy settings and giving Terminal "Full Disk Access", but that seems like a dumb idea.

Finder seems to be able to manipulate this directory though. So after moving my backup directory to a different drive I went into Terminal and in some other directory (such as ~/) did:

ln -s /Volumes/NewDrive/Backups Backups

This created a symbolic link to the new backup directory in a completely useless place. Then I went into finder and dragged that symlink into the ~/Library/Application Support/MobileSync directory.

I've managed to sync and back up, so it looks like it worked.
Thanks, I will try
 

harriska2

macrumors 65816
Mar 16, 2011
1,275
643
Oregon
This was making me crazy, but I think I figured it out. Pre-Mojave, I had a symlink to another drive that had been working fine. I changed the name of that drive and the symlink broke. Then there was no way for me to update the symlink-- I kept getting the same "Operation not permitted".

iOS device backups are stored in ~/Library/Application Support/MobileSync/Backups

The MobileSync directory must be protected by the operating system to prevent tampering. I can't create a directory called "MobileSync" in the Application Support directory ("Operation not permitted"), but iTunes can. If I let iTunes create it then when I enter that directory in Terminal I even get an "Operation not permitted" when I try to list the directory.

I could probably solve this by going into Privacy settings and giving Terminal "Full Disk Access", but that seems like a dumb idea.

Finder seems to be able to manipulate this directory though. So after moving my backup directory to a different drive I went into Terminal and in some other directory (such as ~/) did:

ln -s /Volumes/NewDrive/Backups Backups

This created a symbolic link to the new backup directory in a completely useless place. Then I went into finder and dragged that symlink into the ~/Library/Application Support/MobileSync directory.

I've managed to sync and back up, so it looks like it worked.
Thanks! Works like a charm. If the external drive crashes, I'm not sure I can get to it but at least I have the devices backed up somehow (not cloud).
 

foliage

macrumors newbie
Aug 18, 2018
21
12
I managed to work around this the other day.

Simple solution may be to go to system preferences > security & privacy > privacy > full disk access > unlock lock to make changes > add terminal app

Hope that helps.
 

Analog Kid

macrumors 603
Mar 4, 2003
5,261
3,475
Simple solution may be to go to system preferences > security & privacy > privacy > full disk access > unlock lock to make changes > add terminal app
This would reduce your overall security level just to make this one change.

You could presumably revoke full access later, but that doesn't seem like any less effort than dragging and dropping the link.
 

foliage

macrumors newbie
Aug 18, 2018
21
12
This would reduce your overall security level just to make this one change.

You could presumably revoke full access later, but that doesn't seem like any less effort than dragging and dropping the link.
True - I revoked access straight after the terminal command. I'm not sure what you mean by dragging and dropping the link but I dragged the desired destination folder into terminal for the command pathway. Took a minute to do. Best of luck.
 

Analog Kid

macrumors 603
Mar 4, 2003
5,261
3,475
True - I revoked access straight after the terminal command. I'm not sure what you mean by dragging and dropping the link but I dragged the desired destination folder into terminal for the command pathway. Took a minute to do. Best of luck.
I meant the step where I drag the link within Finder from where I created it to where I want it (into the MobileSync folder).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.