6 ms·
Show HN: K8up – Kubernetes Backup Operator Based on Restic
- bryanlarsen 7y agoAny advantages over velero? https://heptio.github.io/velero/master/restic.html https://heptio.github.io/velero/master/restic.html
- tobru 7y agoIt's an alternative, in the making since over a year and used in production. It focuses on Restic since the beginning.
- SomaticPirate 7y agoIts a bit interesting that Velero just merged a proposal about Restic https://github.com/heptio/velero/commit/86408bf8052cf33a5a809925c8956c9568209f53 https://github.com/heptio/velero/commit/86408bf8052cf33a5a80... Is this where the k8s backup ideas are going?
- yebyen 7y agoIt says 404 there isn't a GitHub Pages site here... where did heptio docs move to now that they are VMware?
- mroche 7y agohttps://velero.io/docs https://velero.io/docs
- glesperance 7y agoWe've been using k8s-snapshots[1] Very easy to setup and use. Very simple to add snapshots too. How does this compare? [1] https://github.com/miracle2k/k8s-snapshots https://github.com/miracle2k/k8s-snapshots
- bryanlarsen 7y agoThat only works on AWS & GCE. A restic based operator will work anywhere.
- tobru 7y ago* K8up uses Restic, k8s-snapshots Tarsnap * K8up doesn't do snapshots but file-based backups supporting any RWX storage and to some extend RWO (still to be improved) * K8up can do pre-backup tasks like dumping a database to have application consistent backups * K8up has a great amount of monitoring backed in for providing a good overview via Prometheus if the backups really work * K8up can send webhooks about backups available to allow integrations into third party control panels. F.e. Lagoon[1] uses it [1] https://github.com/amazeeio/lagoon https://github.com/amazeeio/lagoon
- joseph 7y agoCool. I was about to hack a CronJob to take some backups with pg_dump, but I'm going to give this a try.
- tamalsaha001 7y agoYou can also try Stash https://github.com/stashed/stash https://github.com/stashed/stash . This has been in use since 2017 and always worked with Restic. Disclaimer: My company, AppsCode is the primary developer behind Stash.
- SomaticPirate 7y agoHow does this compare? It appears to only backup chosen apps, not necessarily a whole cluster?
- tobru 7y agoK8up currently is optimized for PVs and will probably be able to backup objects in the future. It's not meant for cluster disaster recovery or full-cluster backup. (Deployment artefacts should anyways come from GitOps)
- tamalsaha001 7y agoSomaticPirate, Stash can backup individual workloads, PV/PVC or any application (Databases or custom including K8s cluster) with the most recent release.
- tobru 7y agoStash was an inspiration for K8up. Unlike Stash, K8up is non-intrusive and doesn't add additional containers to Pods. It runs as k8s jobs besides the application Pods.
- tamalsaha001 7y agoTobru, then you will like the new edition. It supports backup via Job. https://github.com/stashed/docs/blob/master/docs/guides/latest/volumes/overview.md https://github.com/stashed/docs/blob/master/docs/guides/late...
- yebyen 7y agoI actually have a cluster that I need to tear down and do disaster recovery practice on, but didn't know how, so I'm still paying for the "important data" that I generated on it. I will use it tonight, thank you friend!