Ark gives you tools to back up and restore your Kubernetes cluster resources and persistent volumes.
helm install --name $ARK_NAME -n $ARK_NS --version v1.2.3 -f helm_charts/stable/ark/values.yaml stable/ark
- First, you must select an object storage backend that Ark can use to store backup data
Minio is an option if you want to keep your backup data on-premises and you are not using another storage platform that offers an S3-compatible object storage API.
helm install --name $MINI_NAME -n $MINI_NS --version v1.9.1 -f helm_charts/stable/minio/values.yaml stable/minio
- Second, if you need to back up persistent volume data, you must select a volume backup solution.
If there is no native snapshot plugin available for your storage platform, you can use Ark’s restic integration, which provides a platform-agnostic backup solution for volume data.
* https://heptio.github.io/ark/v0.10.0/restic.html
* https://github.com/restic/restic
- Create & Restore a backup
ark backup create <backup name> --include-namespaces <[namespace list]>
ark restore create --from-backup <backup name>