Message: failed to prune repo: error to connect backup repo: error to connect to storage: error retrieving storage config from bucket "<backend storage location>": The Access Key Id you provided does not exist in our records. Result: Failed Start Timestamp: 2025-11-21T10:45:08Z
2.x
kubectl get deployment velero -n <namespace> -o jsonpath='{.spec.template.spec.volumes[?(@.name=="cloud-credentials")].secret.secretName}' kubectl get secret cloud-credentials -n <namespace> -o jsonpath="{.data.cloud}" | base64 -daws_access_key_id = <CHECK-THIS-VALUE> aws_secret_access_key = <CHECK-THIS-VALUE>kubectl get secret cloud-credentials -n <name space> -o yaml > velero-secret-backup.yamlaws_access_key_id = CORRET_ACCESS_KEYaws_secret_access_key = CORRECT_SECRET_KEYkubectl delete secret cloud-credentials -n <name space>kubectl create secret generic cloud-credentials --from-file=cloud=credentials-velero -n <namespace>
kubectl delete pod -l component=velero -n <namespace>kubectl get pods -n <namespace>velero backup create Test-backup --from-schedule <your-schedule-name>