• 0 Posts
  • 14 Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle




  • I’ve been working in IT for about 6/7 years now and I’ve been selfhosting for about 5. And in all this time, in my work environment or at home, I’ve never bothered about backups.

    That really is quite a confession to make, especially in a professional context. But good for you to finally come around!

    I can’t really recommend a solution with a GUI but I can tell you a bit about how I backup my homelab. Like you I have a Proxmox cluster with several VMs and a NAS. I’ve mounted some storage from my NAS into Proxmox via NFS. This is where I let Proxmox store backups of all VMs.

    On my NAS I use restic to backup to two targets: An offsite NAS which contains full backups and additionally Wasabi S3 for the stuff I really don’t want to lose. I like restic a lot and found it rather easy to use (also coming from borg/borgmatic). It supports many different storage backends and multithreading (looking at you, borg).

    I run TrueNAS, so I make use of ZFS Snapshots too. This way I have multiple layers of defense against data loss with varying restore times for different scenarios.


  • One simple way to pull the new image into your cluster is to overwrite the latest tag, specify imagePullPolicy: Always in your deployment and then use kubectl rollout restart deployment my-static-site from within your pipeline. Kubernetes will then terminate all pods and replace them with new ones that pull the latest image.

    You can also work with versioned tags and kubectl set image deployment/my-static-site site=my/image:version. This might be a bit nicer and allows imagePullPolicy: IfNotPresent, but you have to pass your version number into your pipeline somehow, e.g. with git tags.





  • I think choosing a domain registrar with DynDNS support has very little to do with setting up PiHole and Wireguard at home. PiHole and Wireguard will not care about or interact directly with a service like porkbun. Okay, you might configure PiHole to forward DNS requests to porkbuns nameservers, but that’s something every dns provider will support because that’s what dns providers do.





  • I assume you’re not really experienced with storage servers? Then I would likely recommend a Synology NAS. They give you great software that you can easily configure without the need of deeper knowledge of the inner workings. I started with a Synology and didn’t regret it. It just worked and gave me reliable storage so I could concentrate on the other parts of my homelab. It comes with a price though and you mostly pay for the software.

    If you aren’t afraid to get your hands dirty or prefer to use an open source storage solution from the beginning, you might consider Unraid or TrueNAS. The latter is more “enterprisey”, the former seems to be more beginner friendly (but I haven’t used it personally).