Aerospike Backup CR
Overview
The Aerospike Backup Service (ABS) can trigger a backup from a Custom Resource (CR) that represents a backup configuration for an Aerospike cluster. We refer to this as an Aerospike Backup CR.
You can trigger both on-demand and scheduled backups using kubectl
or helm
.
Requirements
Before creating backups, deploy the ABS on your Kubernetes cluster using either:
Once running, ABS watches the Aerospike Backup CR for updates that trigger a backup.
Create a backup
-
Create your YAML-formatted backup CR file with the backup configuration you want to perform.
See backup configuration settings for details on the parameters available in the backup CR file. You can find a sample backup CR file in the main Aerospike Kubernetes Operator repository.
You can edit the CR file at any time to make changes and manage the backup.
-
Use
kubectl
to apply the CR file you created, which instructs ABS to perform a backup with your defined settings.kubectl apply -f aerospikebackup.yaml -n aerospike