You may have noticed a few of my posts here, I am very interested in self-hosting and what advice can you give to a newbie? maybe some literature, video, I don’t know~

  • cybersandwich@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 months ago

    Breaking things is the best way to learn. Accidentally deleting your container data is one of the best ways to learn how to not do that AND learn about proper backups.

    Breaking things and then trying to restore from a backup that…doesn’t work. Is a great way to learn about testing backups and/or properly configuring them.

    The corrolary to this is: just do stuff. Analysis paralysis is real. You can look up a dozen “right ways” to do things and end up never starting.

    My advice: just start. If you end up backing yourself into a corner where you can’t scale or easily migrate to another solution, oh well. You either learn that lesson or figure out a way to migrate. Learning all along the way.

    Each failure or screw up is worth a hundred “best practice / how to articles”.

    • aStonedSanta@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      So. I added home assistant and homarr to my docker compose stack. When I updated the stack to pull the new images. I lost all my saved info and files. Why is this? I’m imaging I need to define a storage point for the files ?

      • cybersandwich@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 months ago

        Yep, that’s exactly what you need. It’s a right of docker passage to not have a volume set up and lose all of your settings/data.

        What you are talking about is volumes. You can probably Google a dozen examples but I highly recommend trying chatgpt for questions like that.

        It’s pretty good about telling you what you need to do or how to fix a issue with your compose file.