talira

Kubernetes and OpenShift Backup Operator

open sourceApache-2.0self-hostablefree

K8up (pronounced "ketchup") is a Kubernetes and OpenShift operator that backs up persistent volumes and application data with restic. You create a schedule and credentials in a namespace, and it backs up the PVCs there (ReadWriteMany, ReadWriteOnce or labelled ones) to S3-compatible storage such as Amazon S3 or MinIO, or to restic's other targets, with application-aware backups that capture the output of a command such as a database dump. It also runs scheduled archives, repository checks and prunes, exposes Prometheus metrics, and restores with the k8up CLI. VSHN created it in 2019; it's a CNCF Sandbox project under Apache-2.0, installed with its Helm chart; compare Velero.

Ways to install

Problems it solves

  • back up the persistent volumes in each Kubernetes namespace to S3 on a schedule
  • let application teams set up and restore their own backups in their namespace without cluster admin help
  • take consistent database backups in Kubernetes by streaming a dump command's output into the backup
  • restic-based backups for Kubernetes volumes with deduplication and encryption
  • archive Kubernetes backups to long-term storage such as Glacier
  • alert when a Kubernetes backup job fails, with Prometheus metrics
  • free open source backup operator for OpenShift persistent volumes

Features

  • backs up PVCs marked ReadWriteMany or ReadWriteOnce, or with a specific label
  • on-demand and scheduled backups through custom resources
  • application-aware backups of any command's stdout
  • scheduled archival, for example to AWS Glacier
  • repository integrity checks and pruning of old backups
  • restores with the k8up CLI
  • restic under the hood: S3-compatible storage, SFTP, REST server, local and other targets
  • self-service and multi-tenant: each namespace runs its own backups
  • Prometheus metrics endpoint
  • Helm chart install

Capabilities

Has an APIplan not known
Has a command line toolplan not known

Alternatives

The same job

These do what K8up does.

  1. Velero Backup and migrate Kubernetes resources and persistent volumes
  2. Veeam Kasten Kubernetes data protection and application mobility

Compare K8up with the top 3