Skip to main content

Backup and Restore Strategy Overview

This document provides a technical overview of the backup mechanisms implemented across Kubernetes clusters managed by our DevOps team.


1. Persistent Volume (PV) Backup and Restore with Velero​

We use Velero to orchestrate backups of Persistent Volume Claims (PVCs) in Kubernetes.


2. Sealed Secrets Key Backups​


3. Logical Database Backups​

We use logical dumps for databases such as PostgreSQL and MongoDB to ensure portability and integrity.

PostgreSQL​

MongoDB​

  • The chart was renamed from mongodb-operator to mongodb-kubernetes; its README is now a migration guide (MCO to MCK) and doesn't cover backup/restore yet. Documentation pending.

4. Checking Backup Health​

The backup exporter in the kubeaid-agent chart reads object storage directly and reports whether PostgreSQL (CNPG logical and WAL), Velero, MongoDB, and Sealed Secrets backups actually landed. Check status with:

kubeaid-cli backup status

See the backup status docs for the metrics reference, JSON output (-o json), and alerting behavior.

Summary​

ComponentTool/MethodTarget Storage
PVCsVelero + CSI SnapshotsAzure Blob / S3 Compatible Storage
Sealed Secret KeysCronJob + GZIPAzure Blob / S3 Compatible Storage
PostgreSQL / MongoDBLogical dump scriptsAzure Blob / S3 Compatible Storage