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?

  • Krafting@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

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

  • fireshaper@social.belowland.com
    link
    fedilink
    arrow-up
    4
    ·
    11 months 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.

      • Scroll Responsibly@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months 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.

        • deleted@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

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

        • schmurian@lsmu.schmurian.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          11 months 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.worldOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            11 months 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.

  • melchiorbv@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    11 months 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

    • valkyre09@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      Would wine work for detecting the iPhone and allowing the data sync? I feel like it’s a big ask

    • deleted@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      I see. I found a wine docker container but it seems to be abandoned.

      Is there more efficient way other than Debain -> wine (on a vm) -> iTunes?

      • Jmr@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Unless there is something that can do it that runs on Linux. As far as I know, there’s only iTunes for MacOS and Windows.

        • deleted@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          I was thinking of something like this:

          What if we can run a lightweight wine version tailor made to be compatible with iTunes on a container?