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
- To preserve the ability to decrypt sealed secrets, we automate the backup of the controller’s private key.
- Backup and Restore documentation
3. Logical Database Backups
We use logical dumps for databases such as PostgreSQL and MongoDB to ensure portability and integrity.
PostgreSQL
MongoDB
Summary
| Component | Tool/Method | Target Storage |
|---|---|---|
| PVCs | Velero + CSI Snapshots | Azure Blob / S3 Compatible Storage |
| Sealed Secret Keys | CronJob + GZIP | Azure Blob / S3 Compatible Storage |
| PostgreSQL / MongoDB | Logical dump scripts | Azure Blob / S3 Compatible Storage |