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
    link
    English
    411 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.

    • @[email protected]
      link
      fedilink
      English
      711 months ago

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

      • @spitfire
        link
        English
        411 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
        link
        English
        311 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.

          • Convict45
            link
            English
            111 months ago

            Node red is the most notable example.

              • Convict45
                link
                English
                111 months ago

                Maybe if you’re a deep Linux head, but the rabbit hole of “first do x, which requires y, which requires z, which requires….” Seemed infinitely deep for me, who has only a passing familiarity with Linux.

                Again, I’m talking about Node Red on HA CORE.

      • @brightandshinyobject
        link
        English
        311 months ago

        What is the step‽ I am running the container in unraid and want the addon!

        • @[email protected]
          link
          fedilink
          English
          411 months ago

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

          • JustEnoughDucks
            link
            fedilink
            English
            111 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.

            • @[email protected]
              link
              fedilink
              English
              111 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
        link
        English
        211 months ago

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