-
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
Cannot backup local PV using Opt-In #8283
Labels
Comments
You need to annotate the Pods rather than the PVCs, refer to https://velero.io/docs/v1.14/file-system-backup/#using-opt-in-pod-volume-backup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps did you take and what happened:
I have a local persistent volume that I want to backup using the opt-in approach. When I run velero backup create, it says "no applicable volumesnapshotter found".
Velero is installed using helm and the backup is using a schedule.
Helm values:
Schedule:
I then run it using
velero backup create --from-schedule hassio-schedule
and it completes "successfully".The respective PV is used by a deployment:
and the PVC is also annotated:
PV:
(other question: do I need to annotate PVC and pod or is one sufficient?)
What did you expect to happen:
The full backup should be performed. When I restore, I only see the PVC being created without any content. In the S3 bucket, there is also nothing in the restic directory.
The following information will help us better understand what's going on:
Please provide the output of the following commands (Pasting long output into a GitHub gist or other pastebin is fine.)
kubectl logs deployment/velero -n velero
https://pastebin.com/r8c0XC0dvelero backup describe <backupname>
orkubectl get backup/<backupname> -n velero -o yaml
: https://pastebin.com/qzv5e3Advelero backup logs <backupname>
: https://pastebin.com/keGPj6GKEnvironment:
velero version
): v1.10.1 (client) / v1.14.1 (server)velero client config get features
):kubectl version
): v1.30.3/etc/os-release
): Talos v1.7.6Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: