19

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?

all 14 comments
sorted by: hot top new old
[-] Krafting@lemmy.world 4 points 2 years ago

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

[-] deleted@lemmy.world 1 points 2 years ago

Good to know.

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

[-] fireshaper@social.belowland.com 4 points 2 years ago

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.

[-] deleted@lemmy.world 3 points 2 years ago

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?

[-] scroll_responsibly@lemmy.sdf.org 1 points 2 years ago

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.

[-] schmurian@lsmu.schmurian.xyz 2 points 2 years ago* (last edited 2 years ago)

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

[-] deleted@lemmy.world 1 points 2 years ago

Could you please elaborate more about your setup?

Like what software you used with raspberry pi to backup your data.

I have no problem using windows to restore though.

[-] deleted@lemmy.world 2 points 2 years ago

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

[-] melchiorbv@lemm.ee 3 points 2 years ago* (last edited 2 years ago)

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

[-] deleted@lemmy.world 3 points 2 years ago

Interesting

I will give it a shot

[-] Moonrise2473@feddit.it 1 points 2 years ago

without a dedicated GPU it will be unbearably slow

[-] deleted@lemmy.world 1 points 2 years ago

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

[-] cow@lemmy.world 2 points 2 years ago

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

this post was submitted on 14 Aug 2023
19 points (91.3% liked)

Selfhosted

60810 readers
481 users here now

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS