Backing up with Velero

Overview

DPS supports Kubernetes native backup, migration, and disaster recovery solutions. DPS recommends establishing a regular backup schedule tailored to your organizational needs and Recovery Point Objective.

Example Using Velero

Velero is a popular open-source tool for backing up and restoring Kubernetes resources. This example demonstrates a basic backup and restore process using Velero with MinIO.

1. Create a Velero Backup:

velero backup create dps-backup --include-namespaces dps

2. Verify Backup Creation:

velero backup describe dps-backup

This command displays detailed information about the backup, including its status, start time, and included resources. Ensure the phase indicates success.

3. Restore from Backup:

velero restore create --from-backup dps-backup

This command initiates a restore process using the previously created backup.

4. Verify DPS Deployment:

kubectl get all -n dps

Confirm that the DPS deployment has been successfully restored by listing all resources in the dps namespace. Check that all expected resources are present and running as expected.