My home lab has a mild amount of complexity and I’d like practice some good habits about documenting it. Stuff like, what each system does, the OS, any notable software installed and, most importantly, any documentation around configuration or troubleshooting.

i.e. I have an internal SMTP relay that uses a letsencrypt SSL cert that I need to use the DNS challenge to renew. I’ve got the steps around that sitting in a Google Doc. I’ve got a couple more google docs like that.

I don’t want to get super complicated but I’d like something a bit more structured than a folder full of google docs. I’d also like to pull it in-house.

Thanks

Edit: I appreciate all the feedback I’ve gotten on this post so far. There have been a lot of tools suggested and some great discussion about methods. This will probably be my weekend now.

  • MystikIncarnate@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    I’m using netbox, and I’m in the process of info dumping my brain to a media wiki. I may add ansible into the mix in the near future.

    My lab is a bit large and complex and I’m currently in the process of trying to train help to run it, from the pool of people that make use of it. They know how the front end works, a few of them need to learn the back end.

  • tuhriel@infosec.pub
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    Ibrun my own gitlab instance where i have a repository with all my configs, scripts etc.
    As well as a wiki that contains the admin guide with (hopefully) all the relevant infos in form of text and PlantUML graphs.

    The nice thing is… You can just ‘code’ the diagrams and use a PlantUML instance to render the graphs live

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

    I’ve been using Obsidian for a lot of other purposes for a couple years now, so I was comfortable adding my documentation into my existing vault there. I made a couple templates that I fill out for any hardware/software/networking equipment.

    Since the app’s selling point is storing all your notes in plain text I wouldn’t put anything security-related in there without some encrypted container. I use KeePass for that part, and keep the file it generates in the same folder as Obsidian so I can link to it within notes. Click the link in the note, KeePass opens the vault and asks for its password.

  • floofloof@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    11 months ago

    Mine is, er, self-documenting, and my partner has instructions, in the event that I die, to plug the wifi router into the modem and unplug all the other crap. The router has a sticker saying ROUTER and the modem has a sticker saying MODEM.

    • limit@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      As I move to more self hosting, it’s becoming more and more important to create a “what to do if I die” procedure for my wife (or even children) to follow. I mean it’s not big deal if the plex server goes down and doesn’t come back up, I’m thinking more along the lines of all of our photos, important documents, password manager, those type of things. I have 3 - 2 - 1 backups for the important stuff and have tested them, but that means nothing to my wife if I wasn’t around to get that stuff back if something happened… I wonder some days if I should document it all and put a print out with a step by step guide on how to get everything back that a semi tech savvy person could follow.

      • floofloof@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        11 months ago

        Yes, I really need to do this too. It’s a fairly daunting task because my significant other is not at all comfortable with even slightly complicated operations on a computer. I need to figure out a way to make a really easily accessible backup of everything.

    • Szwendacz@kbin.maciej.cloud
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      I think I need to do something similar with my cloud. It seem good both for organizing my cloud and for plain visual organizing training.

  • NewDataEngineer@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    I use trillium that gets backed up every hour to my pc.

    I also do a lot of python development so my project ideas get written down there too.

    I’m not a fan of code is documentation because what happens when you step away for a month and you need to figure something out? In trillium I have a search bar. What do you have in the code?

    • Human Crayon@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      I will second trilium. I use their sync server in a VM (which is backed up with the rest of my VM’s so its easy to drop back down should something happen). The app appeals to me, even after using Obisdian for the past 6 months (i’m a fan of markdown as well).

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

    I use draw.io for diagrams. Netbox to keep track of devices, IP addresses, and cables. MediaWiki for how to articles. Both Netbox and MediaWiki live on a VM both at home and offsite and they sync nightly.

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

      +1 for WikiJS. As a bonus you can have WikiJS back itself up to plain text MarkDown files, so if things explode you can always just read those from wherever.

      Another great feature I use is to have WikiJS back itself up into git. If I am going to a place with no internet access I can do a quick git pull and have a complete copy of my wiki including files on my laptop.

  • Hutch@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    I use Ansible, Docker, and Emacs OrgMode files committed to Git. Diagrams are a mix of Miro and Graphviz. There’s also a few markdowns in there too. Joplin is used for rough notes only.

  • johntash@eviltoast.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    I’m not very good at deciding on where to document things, so I have a mix of BookStack, Dokuwiki, and Obsidian currently.

    I really like Dokuwiki but I like the UI/UX of BookStack better so I’m working on a plugin to sync bookstack and obsidian. I’ll probably get rid of Dokuwiki after that.

    The main reason for syncing with obsidian is that I want documentation that isn’t stored on the thing it’s about, in case my servers completely die.

    In another thread, someone reminded me that TiddlyWiki still exists, it’s also a pretty cool little tool.

    • nomadjoanne@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      Frankly the only thing I’d save in Google Docs are encrypted archives. Otherwise they’ll profile the documents to send ads to you. But it is a good back up in case lightning strikes your home or something.

      • huojtkeg@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        11 months ago

        I don’t save all my documents. Just my self-hosting, servers infraestructure notes. I don’t want to have the recovery intructions in the same machine I’m recovering

    • LonelyWendigo@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      Are you writing to Google drive directly from the cli? If so how? I regularly need to search, edit, copy, and paste to and from my notes; backup config files; save a neat little script I wrote; etc. all from the CLI. It would be awesome to have this searchable and online from a web browser too for when I’m not working in the terminal. For example, piping an error message to a file and grabbing/sanitizing that error to search later. I have ways, but their all a lot clunkier than simply have a Dropbox. I’m basically looking for something that works just like Dropbox, is not self hosted, and not as cumbersome to setup as NextCloud and the like.

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

        It’s not automated. I just have the most important commands to fix/rebuild my sever in case of disasater.