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!