Kubernetes Backup and Migrations
- Introduction
- ETCD Backup
- Kubernetes Volume Snapshot
- Backup with Trillio Cloud-Native Data Protection for Kubernetes, OpenStack and Virtualization
- Backup with Kasten K10
- Backup with Velero
- Backup with Portworx PX-Backup
- Backup for GKE
- Konveyor Open Source Migration Tool for Kubernetes
- Other Tools
- Books
- Slides
- Videos
Introduction
- kube-backup: Kubernetes resource state sync to git
- Stash If you are running production workloads in Kubernetes, you might want to take backup of your disks, databases etc. Stash is a cloud native data backup and recovery solution for Kubernetes workloads
- thenewstack.io: Cloud Native Backups, Disaster Recovery and Migrations on Kubernetes
- rancher.com: The No. 1 Rule of Disaster Recovery
- rancher.com: Disaster Recovery Preparedness for Your Kubernetes Clusters π
- k8s-snapshots: Automatic Volume Snapshots on Kubernetes is an operator that creates and expires snapshots according to annotations to your PersistentVolume or PersistentVolumeClaim resources.
- infracloud.io: Protecting Kubernetes applications data using Kanister
- kanister.io π An extensible open-source framework for application-level data management on Kubernetes. KANISTER allows domain experts to capture application specific data management tasks in blueprints which can be easily shared and extended. The framework takes care of the tedious details around execution on Kubernetes and presents a homogeneous operational experience across applications at scale.
- blog.kasten.io: Move Fast and Test in Kubernetes without Breaking Things with kanister and CI/CD π
- When using data mobility to improve your CI/CD pipeline, itβs important to consider the data at different layers in your application stack. In many instances, you must perform operations on multiple layers of your application at once, as well as interact with Kubernetes itself. Kasten by Veeam developed Kanister to address these data mobility challenges and enable organizations to test safely with real data.
- Kanister, an open source project, provides a Kubernetes-native framework for application-level data management that supports complex data management workflows. Domain experts can capture application-specific data management tasks in blueprints, which can be easily shared and extended, eliminating many of the tedious details around execution on Kubernetes.
- Kanister is easy to integrate with your CI/CD pipeline, because it uses Kubernetes API extensions called custom resources. You can easily extend Kanister to work with custom applications as well as several common cloud native databases, simplifying and streamlining testing operations while reducing risk.
- thenewstack.io: DevSecOps Teams Need Application-Consistent Backups for Kubernetes Workloads
- percona.com: Using Volume Snapshot/Clone in Kubernetes (GKE & Percona Kubernetes Operator for XtraDB Cluster)
- kasten.io: Kubernetes Application Mobility Reliable and Powerful Migration of Complete Applications Across Kubernetes Clusters.
- longhorn issue: Move replica to a different server
- aithority.com: Bacula Systems Announces Worldβs First Enterprise-Class Backup and Recovery Solution for Red Hat OpenShift
- cloudify.co: Migrating Pods With Containerized Applications Between Nodes In The Same Kubernetes Cluster Using Cloudify π
- thenewstack.io: Red Hat Brings Backup, Snapshots to OpenShift Container Storage
- thenewstack.io: 5 Best Practices to Back up Kubernetes
- Bacula Enterprise for OpenShift and Kubernetes π
- dani-izquierdo95.medium.com: Batch processing using Cron Jobs. MySQL automated backup on Openshift/K8s
- itnext.io: Backup and Restore of Kubernetes Stateful Application Data with CSI Volume Snapshots
- dev.to: Kubernetes Backup & Restore made easy! π
- blog.kasten.io: 10 Key Takeaways from Kubernetes Backup & Recovery For Dummies
- k8up.io Kubernetes Backup Operator distributed via a Helm chart, compatible with OpenShift and plain Kubernetes.
- medium.com/@amitabhprasad: Kubernetes volume backup for disaster recovery
- thenewstack.io: K8s Backup and Disaster Recovery Is More Important Than Ever Here are some considerations of a successful Kubernetes data protection strategy.
- martinheinz.dev: Backup-and-Restore of Containers with Kubernetes Checkpointing API Kubernetes v1.25 introduced Container Checkpointing API as an alpha feature. This provides a way to backup-and-restore containers running in Pods, without ever stopping them. This feature is primarily aimed at forensic analysis, but general backup-and-restore is something any Kubernetes user can take advantage of. So, let’s take a look at this brand-new feature and see how we can enable it in our clusters and leverage it for backup-and-restore or forensic analysis.
- martinheinz.dev: Backup-and-Restore of Containers with Kubernetes Checkpointing API Kubernetes v1.25 introduced Container Checkpointing API β a way to backup-and-restore containers running in Pods, without stopping them. In this article, you’ll take a look at it and learn how to leverage it for backup-and-restore or forensic analysis.
- blog.palark.com: Kubernetes snapshots: What are they and how to use them? π With snapshots, you can make more efficient use of your storage solution by creating consistent backups and cloning volumes. In this article, you will find an introduction to snapshots in Kubernetes and an overview of typical use cases.
ETCD Backup
- youtube: Kubernetes.. ETCD Backup and Restore… Very Easy Steps… CKA Exam Tips..
- gsanjeewa1111.medium.com: How to backup and restore the ETCD in the Rancher cluster
- github.com/gardener/etcd-backup-restore Collection of components to backup and restore the Etcd of a Kubernetes cluster. It also provides the ability to validate the data directory, so that we could know the data directory is in good shape to bootstrap etcd successfully.
Kubernetes Volume Snapshot
- kubernetes.io: Kubernetes 1.20: Kubernetes Volume Snapshot Moves to GA
- itnext.io: Backup and Restore of Kubernetes Stateful Application Data with CSI Volume Snapshots
- blocksandfiles.com: Red Hat OpenShift now does container storage backup π Red Hat has teamed up with three container backup suppliers to integrate their services with the companyβs OpenShift Kubernetes distribution. The Red Hat-certified backup products for OpenShift container storage are parent company IBMβs Spectrum Protect Plus; TrilioVault for Kubernetes; and Veeam-owned Kastenβs K10.
- medium: Leveraging operator pattern and VolumeSnapshots to backup databases in Kubernetes
Backup with Trillio Cloud-Native Data Protection for Kubernetes, OpenStack and Virtualization
- Trillio
- TrillioVault for Kubernetes
- redhat.com: OpenShift Backup and Cluster failover with Triliovault π
Backup with Kasten K10
- Kasten
- redhat.com: OpenShift Backup and Recovery with Kasten K10
- blog.kasten.io: Extending Kubernetes Application Backup and Mobility to the Edge with Kasten K10 V4.5
- thenewstack.io: Kasten K10 V4.5: Grafana Observability, More Edge Support
- faun.pub: Kasten K10 on KubeSphere to Ensure Kubernetes Backup and Restore
Backup with Velero
- github.com/vmware-tanzu/velero Backup and migrate Kubernetes applications and their persistent volumes
- akomljen.com: Kubernetes Backup and Restore with Velero π
- wecloudpro.com: Kubernetes Disaster Recovery with Velero π
- medium: Backup,Restore & Migrate Kubernetes cluster with Velero
- medium: Velero backup/restore for K8s Stateful Applications managed by Operators
- cloud.redhat.com: Velero Backup and Restore of an Application Using gp2 StorageClass on ROSA
- medium.com/@firat.yasar: Backup & Restore Kubernetes resources with VELERO
- skildops.medium.com: Backup an entire Kubernetes cluster using Velero to AWS S3 Maintaining backup is always rewarding. Learn how to backup and restore an entire K8s cluster in this detailed article
- blog.devgenius.io: Backup, Restore and Migrate Kubernetes Cluster resources using Velero In this tutorial, you’ll learn how to take a backup of resources running in a Kubernetes cluster and migrate them to another cluster using Velero
Backup with Portworx PX-Backup
- PX-Backup
- PX-Backup: docs
- With PX-Backup, backups of OpenShift applications can also be provided in a secure, self-service environment.
Backup for GKE
Konveyor Open Source Migration Tool for Kubernetes
- github.com/konveyor π - konveyor.io A community to build tools and document best practices to modernize workloads and bring them to Kubernetes.
- containerjournal.com: Red Hat, IBM Launch Konveyor to Aggregate Kubernetes Tools
- engineering.konveyor.io: Konveyor Engineering Knowledgebase Engineers working on Konveyor have started putting their own kbase articles here.
- github.com/konveyor/crane: Crane 2.0 π Crane 2, a tool for rehosting cloud workloads for Kubernetes.
- youtube: Crane 2 Preview: Introduction and Demo Migrating workloads across clusters, from one k8s distro to another, will be the focus of open-source tool Crane 2.0. (A tool that’s part of the Konveyor community.)
- kubebyexample.com: Migrating to Kubernetes with Open Source Tools (Konveyor, Tackle, KubeVirt, Forklift) π KubeByExample’s newest learning path applies open source tools to help you rehost, replatform, and refractor your applications to Kubernetes.
- slideshare.net: Migrating Java JBoss EAP Applications to Kubernetes With S2I
- Despite the incredible pace of adoption of container orchestration platforms, the vast majority of EAP workloads are still running on VMs or bare metal. In a lot of cases enterprise operation teams are mandated to modernize and move these workloads to the cloud, and containerization and migration to Kubernetes is the natural destination. When talking about this migration path, we’re often asked questions like:
- What’s involved?
- How easy is it to move these workloads?
- How can you be sure of no code changes?
- What tools are there to assist with this effort?
- What are the benefits of moving workloads to Kubernetes?
- In this meetup, Philip Hayes, Runtimes Practice Lead at Red Hat, will provide answers to these questions and also include a step-by-step guide to migrating an EAP 7 application to Kubernetes.
- youtube: Migrating JBoss EAP Applications to Kubernetes with Source-to-Image (S2I)
- Despite the incredible pace of adoption of container orchestration platforms, the vast majority of EAP workloads are still running on VMs or bare metal. In a lot of cases enterprise operation teams are mandated to modernize and move these workloads to the cloud, and containerization and migration to Kubernetes is the natural destination. When talking about this migration path, we’re often asked questions like:
Other Tools
- k8up.io K8up is a Kubernetes Operator that helps you:
- Backup all PVCs marked as ReadWriteMany or with a specific label
- Perform individual, on-demand backups
- Schedule backups to be executed on a regular basis
- And more