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. 1.Resource API unavailable
  2. 2.Volume snapshot failure
  3. 3.Permission denied
  4. 4.Timeout during backup
  5. 5.Storage issues

Step 1: Check Backup Details

bash
velero backup describe my-backup --details
velero backup logs my-backup

Step 2: Check Errors

bash
velero backup describe my-backup -o json | jq '.status.errors'
kubectl logs -n velero deployment/velero

Step 3: Check Volume Snapshots

bash
velero backup describe my-backup | grep -i snapshot
kubectl get volumesnapshot -A

Step 4: Check Storage

bash
velero backup-location get
aws s3 ls s3://my-bucket/backups/

Step 5: Check Resources

bash
kubectl api-resources --verbs=list
kubectl get <failed-resource> -A

Step 6: Check Permissions

bash
kubectl auth can-i get pods --as=system:serviceaccount:velero:velero

Step 7: Increase Timeout

yaml
# In backup spec:
spec:
  hooks:
    resources:
      - timeout: 10m

Step 8: Exclude Problematic Resources

yaml
spec:
  excludedResources:
    - problematic-resource

Step 9: Retry Backup

bash
velero backup create my-backup-retry --from-schedule daily

Step 10: Monitor Backups

bash
watch -n 30 'velero backup get'
velero backup logs -f my-backup
  • [Fix Velero Backup Failed](/articles/fix-velero-backup-failed)
  • [Fix Kubernetes PVC Not Binding](/articles/fix-kubernetes-pvc-not-binding)