-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tenants cannot be restored from velero, k8up, restic PVC backups because chart does not accept an existing claim #1869
Comments
Want to also ask: if we're not supposed to use PVCs to do backups, what are we supposed to use for backups in the operator/tenant architecture? Happy to switch, but couldn't find docs on it. |
As far as I can tell, this was answered long ago in minio/minio#4135. The links provided in the original answer are all dead now though, so its impossible to know what used to be there. Someone asked again specifically regarding PVCs in minio/minio#17247 but never received an answer. The only other references I have found are:
|
yeah, from their docs:
But if you look at the doc for
and if you click the Server-Side Bucket Replication link, it says it only works for minio to minio:
This is a little confusing. Is there some sort of way to to sync the objects AND metadata to a third party s3 compatible object store? This would be really helpful for syncing to something like Wasabi, Backblaze B2, etc on say like a nightly basis or something, that way, if your entire site went down, you could spin it back up from the data that was backed up to another s3 host. |
Spent some time testing,
|
That is correct please setup another MinIO to keep your backups and DR needs via replication. You can also batch replication to replicate to AWS S3 if needed. |
The documented process for restoring Minio from Valero, Resit, and K8up is to create a PVC, copy backups to the PVC, then specify that PVC as an existing claim for Minio.
The ability to specify an existing claim was removed when migrating from the vanilla chart to the new operator/tenant.
reference: https://github.com/minio/minio/blob/22d59e757da6e83ccb954fc6abc094375d73d444/helm/minio/values.yaml#L148
Expected Behavior
I would expect to be able to specify an existing claim as is possible in the vanilla chart and use the tools Mino member harshavardhana says are the endorsed ways to do backups in minio/minio#4135:
Current Behavior
There are no-longer any options for specifying which PVC is used by the tenant.
Possible Solution
Allow a pool to contain 1 server which will respect the
spec.dataSource
field ofvolumeClaimTemplate
such that the pool will attach to an existing PVCPVC:
Pool:
Context
The lack of control over PVCs breaks Valero, K8up, and Restic PVC backups
The text was updated successfully, but these errors were encountered: