Loading video player...
Barely made the upload in time, but happy World Backup Day! GitOps handles your manifests. But what about the actual data on your PVCs? Kubernetes has no built-in way to back that up, and if a volume disappears, no amount of reconciliation is bringing it back. In this video, I break down how I use Volsync to back up and automatically restore persistent volume data in my homelab Kubernetes cluster. We'll look at how it works under the hood, the Kustomize component pattern that makes adding backups to any app a two-line change, some Taskfile automation for manual operations, and a full live demo where we deploy an app, back it up, nuke it, and watch the data come back on its own. ⏱️ Timestamps 00:00 - Hook 00:34 - Intro 01:26 - What is Volsync? 02:56 - How Volsync Works 13:40 - The Kustomize Component 21:52 - Taskfile Automation 28:41 - Demo: Deploy, Backup, Nuke, Restore 35:20 - Outro 📎 Links My home-ops repo: https://github.com/mirceanton/home-ops OneDrop home-ops: https://github.com/onedr0p/home-ops Volsync documentation: [https://volsync.readthedocs.io](https://volsync.readthedocs.io) app-template Helm chart: [https://github.com/bjw-s/helm-charts](https://github.com/bjw-s/helm-charts) 📺 Related Videos ▶️ How I Manage My Kubernetes Cluster With Git: https://youtu.be/hoi2GzvJUXM ▶️ TrueNAS Backups Done Right (My 3-2-1 Strategy): https://youtu.be/AP5rfsOjjbo ▶️ Setting Up Ceph Storage on My 3-Node Proxmox Cluster: https://youtu.be/Hb9oC0-KLSQ 🙏 Credits The Kustomize component pattern for Volsync comes from the kubernetes-at-home community/home-ops. Special shoutout to onedr0p's home-ops repo for the MutatingAdmissionPolicy hack and the kustomize component setup. #kubernetes #homelab #volsync #gitops #fluxcd #backups #selfhosted #devops