I’ve an iPhone and Id like to backup my phone to my server running Debain 11 with docker installed.

So, is there a way to install and run iTunes either on the os it self or in a container?

4 points

There is libimobiledevice for interavting with ios devices, you might want to check it out

permalink
report
reply
1 point

Good to know.

I’m so excited to go home and try it.

permalink
report
parent
reply
4 points

I don’t think it’s possible. iTunes requires a full OS install, so you’ll have to just run it on a VM. And Apple has things locked down so much that the only way to do full iPhone/iPad backups is through iTunes.

permalink
report
reply
3 points

I totally understand. However, I stumbled upon this repository https://github.com/shield007/wine-itunes-docker

But last commit was 9y so 100% abandoned.

Then I asked myself what if we can run on a container a lightweight wine version tailor made to be compatible with iTunes?

permalink
report
parent
reply
1 point

iTunes requires usb drivers to sync with an iPhone. Wine does not support windows usb drivers so even if you get iTunes to work in wine, connecting to the iPhone with it won’t work. You might be able to use libimobiledevice to do a backup.

permalink
report
parent
reply
2 points
*

I use libimobildevice on my raspberry and it works in terms of backups. I haven‘t tried to restore it though. Hope this works too… :D

permalink
report
parent
reply
2 points

Iphone can do wireless backup if both the iphone and pc are connected to the same network.

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
3 points
*

I think you can do this by mounting a macos VM: link

New macOS versions do not require iTunes and you can back up directly through the finder window. Your backup will be located there: /Users/{USERNAME}/Library/Application Support/MobileSync/Backup

permalink
report
reply
2 points

Interesting

I will give it a shot

permalink
report
parent
reply
1 point

without a dedicated GPU it will be unbearably slow

permalink
report
parent
reply
1 point

I’ll set it once and thats it. It’ll automatically backup.

permalink
report
parent
reply
2 points

Not iTunes, but you can use libimobiledevice to backup an Apple device on Linux https://docs.mvt.re/en/latest/ios/backup/libimobiledevice/

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 4.9K

    Monthly active users

  • 3.5K

    Posts

  • 75K

    Comments