5 ms·
Has anyone a solution to use this to backup the iPhone to a linux pc (raspi) automaticaly?
by balu_ 5y ago
Has anyone a solution to use this to backup the iPhone to a linux pc (raspi) automaticaly?
- swiley 5y agoDoes anyone even have a solution for automated scheduled script execution on the iPhone?
- hansel_der 5y agohave a look at the 'shortcuts' app[1]. the automation thing has conditional triggers inluding time of day and actions like ssh-rpc. [1] https://apps.apple.com/us/app/shortcuts/id915249334 https://apps.apple.com/us/app/shortcuts/id915249334
- swiley 5y agoThose are extremeley limited and I don't think it's possible to run any kind of interesting scripts locally. I did look at it when I still had an iPhone and it's one of those "almost usable but fundamentally broken" things that are par for iOS. It works well enough that I could spend a weekend or two making stuff that almost works with it.
- hansel_der 5y ago> I don't think it's possible to run any kind of interesting scripts locally. it has the ability to run pythonista scripts amog others... but yea, it's not a fully exposed unix where most things are files.
- swiley 5y agoMost things are, in fact, files. It's just a massive pain to do anything with them.
- tritones 5y agoJailbroken devices have this ability. At one point I had rclone daemon syncing iCloud files to Seafile through the terminal. You can also run scripts through Shortcuts by local ssh
- chewmieser 5y agoJailbroken you used to be able to use LaunchDaemons to handle this. Not sure if this is still the case.
- balu_ 5y agoThere doesn’t have to run anything special on the IPhone. In the early days iTunes could make backups on the local pc when the iPhone was connected via usb. Later on apple extended this to wifi: so if you had an iTunes running in your wifi and the iPhone joined a backup was done at the iTunes side. I‘m not sure if this feature is still there, but I would have found this very useful if it would have been possible with the computer that is running anyways (as in the pi).
- pabs3 5y agolibimobiledevice has a command-line tool to initiate a backup, you should be able to run it on the RPi.
- pabs3 5y agoFor restoring a backup to a Linux filesystem, libimobiledevice requires the iOS device to be present, so you will probably want ideviceunback instead, which doesn't have this issue: https://github.com/libimobiledevice/libimobiledevice/issues/1147 https://github.com/libimobiledevice/libimobiledevice/issues/... https://github.com/inflex/ideviceunback https://github.com/inflex/ideviceunback