-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
velero backup Kubernetes Persistent Volume failed with minio #2355
Comments
@duyanghao for backing up the contents of volumes you have two options:
From your install command, I gather that you're not running in AWS itself, so you probably want to look into using the restic integration for volume backups. You'll need to re-run your install command with the Closing this out, but feel free to reach out again as needed. |
@skriss thanks for your reply, there are still some questions about
An explanation for my second question: step2 - backup Application data(i.e. kubernete-persistent-volume)
restore(imagine that cluster has been deleted totally) Attention: There are already pods and relevant pvs(no application data) after etcd restoration step2 - restore Application data(i.e. kubernete-persistent-volume)
And now |
Velero doesn't have a built-in command to do this, you'd need to write your own script/automation. You could check out this community project: https://github.com/bitsbeats/velero-pvc-watcher
That's correct, Velero does not support overwriting existing resources, you'd need to delete/recreate the application (YAML) and PV data together. #504 and #469 are relevant RFEs. |
@duyanghao you're right in your considerations. Velero is not a mature yet. |
What steps did you take and what happened:
What did you expect to happen:
velero restore will write access logs to
/var/log/nginx/access.log
, and thecat
command should output as below:Environment:
velero version
): v1.3.1velero client config get features
):features: <NOT SET>
kubectl version
): v1.17.0Addition:
both
nginx-backup-with-pv-volumesnapshots.json.gz
andnginx-backup-with-pv-podvolumebackups.json.gz
are empty.The text was updated successfully, but these errors were encountered: