• 0 Posts
  • 19 Comments
Joined 3 years ago
cake
Cake day: June 20th, 2023

help-circle
  • folekaule@lemmy.worldtoSelfhosted@lemmy.worldDo I need a NAS ?
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 months ago

    True open source products are your best bet. TruNAS and Proxmox are popular options, but you can absolutely set up a vanilla Debian server with Samba and call it a NAS. Back in the old days we just called those “file servers”.

    Most importantly, just keep good backups. If you have to choose between investing in a raid or a primary + backup drive, choose the latter every time. Raid will save you time to recover, but it’s not a backup.







  • I have a DS923+ with four Seagate 8TB drives in it that I really like. It’s easy to use and offers a lot of services.

    However, like others have said, I do not recommend it for new purchases. If I were to do it again I would most likely set up an old PC as a server (though I went with the Synology mainly for power use reasons).

    Synology is getting increasingly customer hostile, and from what I’ve read online their Linux version is so full of bespoke patches that they have painted themselves in a corner it will be hard to get out of. So, they’re likely to fall behind on keeping up with third party software. Their software is usually pretty slick and easy to use, but they discontinue things every few cycles.

    The main thing I still use of theirs is Synology Drive, which was a pretty seamless move from Google Drive. On the flipside, their stuff is proprietary, so getting off of their platform can be challenging.

    For my self-hosting needs I try not to tie anything to the Synology and just use it as a plain NAS. I use my Raspberry Pi or a VM instead.



  • Yeah, I get it. I’ve had many libraries fail me in as many ways, which is why I consider it lucky to not have to implement my own. I work in .net these days, but there have been times where I had to just dig into the xml inside the xlsx and use xml tools. Those were mostly one-offs, thankfully.

    Back when I did Java I had a frustrating experience with IBM’s libxml causing our app to crash after several days due to a memory leak. I didn’t have access to the production environment so it took me probably 3 weeks to find the cause and only after digging through a crash dump provided by the sysadmin. Not related, but you triggered my traumatic memory :)




  • I know it’s ELI5, but this is a common misconception and will lead you astray. They do not have the same level of isolation, and they have very different purposes.

    For example, containers are disposable cattle. You don’t backup containers. You backup volumes and configuration, but not containers.

    Containers share the kernel with the host, so your container needs to be compatible with the host (though most dependencies are packaged with images).

    For self hosting maybe the difference doesn’t matter much, but there is a difference.



  • folekaule@lemmy.worldtoSelfhosted@lemmy.worldSecrets
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    See if a light weight kubernetes installation is for you. Secrets are first class citizens in k8s. You can maintain secrets in a number of different ways, but they are exposed to containers the same way. They can become files or environment variables, whether you need.

    I recommend looking at k3s to run on your Pi and see if that works for you. You can add vault software on top of that later without changing your containers.