I’m trying to migrate from HAOS to HA Container but that’s no way to restore the backup. Is there any other way to do this?

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 months ago

    There’s no way to cleanly do it between hassio and core due to the add-ons vs integrations thing. If you’re just worried about entities, and don’t mind a bit of manual work to cleanup on the other side of things, just copy the entire home assistant directory from the host machine.

    • sabreW4K3@lazysoci.al
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      2
      ·
      9 months ago

      I’m surprised this still comes up. There’s like one extra step to adding the same functionality.

      • spitfire@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        9 months ago

        I’d say it’s not that trivial and makes you the maintainer of your add-ons. Of course it gives you more flexibility, but you do have to manage them/update yourself.

      • Convict45@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 months ago

        You must not be talking about HA Core. Because some of those add-on additions are just straight up impossible for Core, as far as my experience.

        • infeeeee@lemm.ee
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          2
          ·
          9 months ago

          Search for the name of the addon on docker hub and write your compose. Addons are just other containers.

          • JustEnoughDucks@feddit.nl
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            Then find exactly what environment variables, config files, port mapping, etc… need to be placed in each container with 0 documentation at all.

            Not as simple as writing a compose block.

            • infeeeee@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              ·
              9 months ago

              Yeah, that’s what you put in a compose file, and you shouldn’t care about anything else, port mappings can be read from the Dockerfile if it’s not documented, and if the container was built correctly you shouldn’t care about config files.

              I never met a container with 0 documentation. You can read the Doockerfile at least, it’s not magic.

              I mean, I can understand why someone want to use HAOS and neber deal with such things, but if someone can set up HA in a container, the second and third container from there is not an unbelivably big step.

      • Bimbleby@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        Except I can run other stuff that is not provided through addons. But granted; most use cases are covered with addons.