What's Actually Happening
Velero backup completes with partial failure. Some resources are backed up while others fail.
The Error You'll See
```bash $ velero backup describe my-backup
Phase: PartiallyFailed Errors: 5 Warnings: 10 ```
Why This Happens
- 1.Resource API unavailable
- 2.Volume snapshot failure
- 3.Permission denied
- 4.Timeout during backup
- 5.Storage issues
Step 1: Check Backup Details
velero backup describe my-backup --details
velero backup logs my-backupStep 2: Check Errors
velero backup describe my-backup -o json | jq '.status.errors'
kubectl logs -n velero deployment/veleroStep 3: Check Volume Snapshots
velero backup describe my-backup | grep -i snapshot
kubectl get volumesnapshot -AStep 4: Check Storage
velero backup-location get
aws s3 ls s3://my-bucket/backups/Step 5: Check Resources
kubectl api-resources --verbs=list
kubectl get <failed-resource> -AStep 6: Check Permissions
kubectl auth can-i get pods --as=system:serviceaccount:velero:veleroStep 7: Increase Timeout
# In backup spec:
spec:
hooks:
resources:
- timeout: 10mStep 8: Exclude Problematic Resources
spec:
excludedResources:
- problematic-resourceStep 9: Retry Backup
velero backup create my-backup-retry --from-schedule dailyStep 10: Monitor Backups
watch -n 30 'velero backup get'
velero backup logs -f my-backupRelated Issues
- [Fix Velero Backup Failed](/articles/fix-velero-backup-failed)
- [Fix Kubernetes PVC Not Binding](/articles/fix-kubernetes-pvc-not-binding)