Skip to content

DebjotiMallick/kubernetes-database-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Database Backup

project-image

A simple reliable database backup solution for Kubernetes and OpenShift.

Introduction

This Helm chart deploys a Kubernetes-native solution for backing up databases such as PostgreSQL, MySQL, and MongoDB to S3-compatible storage. It leverages Kubernetes CronJobs to schedule regular backups and stores them in a specified S3 bucket.

Architecture

Architecture Diagram

Prerequisites

  • Kubernetes 1.23+
  • Helm 3.8+
  • PV provisioner support in the underlying infrastructure
  • S3-compatible storage account (AWS S3, Cloudflare R2, MinIO, etc.)

Features

  • Supports PostgreSQL, MySQL, and MongoDB databases.
  • Configurable backup schedules using Cron expressions.
  • Stores backups in S3-compatible storage.
  • Easy to configure and deploy using Helm.
  • Supports multiple database instances and databases per instance.
  • Retention policy for old backups.

Installation

helm repo add debjoti https://charts.debjotimallick.store/
helm install my-backups -f values.yaml debjoti/k8s-db-backup

For detailed installation instructions, refer to the Installation Guide

Artifacts are stored in Artifact Hub: https://artifacthub.io/packages/helm/debjoti-mallick/k8s-db-backup

Give a star if you find this project useful! ⭐

About

A simple, reliable database backup solution for Kubernetes and OpenShift.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors