Velero backed up PV Data to Minio and reported an error #3244
-
velero v1.5.2velero install #kubectl -n velero-test annotate pod harping-bison-mariadb-0 backup.velero.io/backup-volumes=data,config #velero backup create velero-test-pvc3 --snapshot-volumes --include-namespaces velero-test #velero backup logs velero-test-pvc3 | grep error time="2020-12-30T06:17:52Z" level=info msg="1 errors encountered backup up item" backup=velero/velero-test-pvc3 logSource="pkg/backup/backup.go:451" name=wordpress-1609242910-69474dd5b8-qltgb How to solve this problem ??? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @misteruly - Can you please provide the full logs for the backup (full output from |
Beta Was this translation helpful? Give feedback.
-
--use-volume-snapshots=true Is that necessary? |
Beta Was this translation helpful? Give feedback.
-
@zubron time="2021-01-05T01:10:22Z" level=info msg="Setting up backup temp file" backup=velero/velero-test-pvc4 logSource="pkg/controller/backup_controller.go:534" |
Beta Was this translation helpful? Give feedback.
-
No, it is not necessary. Using volume snapshots is only applicable when running on a provider that provides volume snapshotting capabilities, such as on AWS where you are using EBS for your volumes. If you are running on AWS and wish to use volume snapshots, you will also need to configure a From the logs, it looks like it is attempting to take a volume snapshot, did you create a volume snapshot location? It looks like some volumes are being backed up with restic and some are attempting to use snapshots. Can you retry taking a backup without specifying Also, can you provide the output from the following commands:
Thanks! |
Beta Was this translation helpful? Give feedback.
No, it is not necessary. Using volume snapshots is only applicable when running on a provider that provides volume snapshotting capabilities, such as on AWS where you are using EBS for your volumes. If you are running on AWS and wish to use volume snapshots, you will also need to configure a
VolumeSnapshotLocation
. From your install command however, you are using MinIO and restic so volume snapshots will not apply.From the logs, it looks like it is attempting to take a volume snapshot, did you create a volume snapshot location? It looks like some volumes are being backed up with restic and some are attempting to use snapshots.
Can you retr…