Backups
Enabling backups
Backups are implemented via aws snapshots system. To enable snapshots follow this instruction (and don't forget to add tags to your ebs).
To find which EBS you want to backup:
- run
kubectl get pv -n <your_namespace>
to find names of all PVs and their claimers; - run
kubectl describe pv <pv_name> -n <your_namespace>
to find id of the EBS
Restoring from backup
- Find needed snapshot by creation date;
- Create volume from this snapshot (Actions -> Create Volume);
- Find this volume's ID in dashboard;
- Force Persistent Volume attached to your Pod use this volume.