Command line iPhone backup on PC

I have a need to do a complete backup of an iPhone, but I need to do it from a command line. Currently I am able to detect the device and obtain the device ID and pass that to AppleMobileBackup. I get a backup to execute and it's the same as when I do it natively with iTunes GUI except it's missing info.plist. I am guessing it's because I never get the opportunity to tell it to encrypt the backup (which I am not trying to circumvent. I prefer that it be encrypted)


The command that I am executing is: C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\AppleMobileBackup.exe --backup --target %40_digit_device_identifier% --root %path_where_I_want_data_stored%


It seems like I am just missing a command line parameter to pass that would enable encryption but there isn't an option that I have been able to find that tells gives me any additional information. If anyone can help with this I would appreciate it. I seem to have hit a dead end.


Thanks!

iPhone 6, iOS 11.2.2

Posted on Mar 7, 2018 5:45 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Command line iPhone backup on PC

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