Backup and Restore Not working in Openshift Cluster with Minio and Velero #3254
Unanswered
MuthuSundaravadivel
asked this question in
Community support Q&A
Replies: 1 comment
-
Is Minio installed in the same cluster? If not, the minio.velero.svc address will not work as it's local to the Kubernetes cluster and you will need to specify the public (at least in your network) name or IP address to contact it. More info would help us understand the issue if that's not the case. The output of the following commands will help us better understand what's going on:
Anything else you would like to add: Environment:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to take the backup of PVC in openshift cluster using minio and velero but the backup and restore not happening properly. Can you please help me resolve the issue
Velero Installation:
velero install
--provider aws
--plugins velero/velero-plugin-for-aws:v1.0.0
--bucket velero
--secret-file ./credentials-velero
--use-volume-snapshots=true
--use-restic —wait
--default-volumes-to-restic
--backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://minio.velero.svc:9000
POD Annotation:
oc -n dev-ms annotate pod/mongodb-1-dqkd6 backup.velero.io/backup-volumes=mongodb-data,default-token-npk2z
Backup:
velero backup create mongodb --include-cluster-resources=true --include-namespaces=dev-ms
Restore:
velero restore create mongodb --from-backup mongodbackup
Beta Was this translation helpful? Give feedback.
All reactions