-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Velero in Azure - Is it possible to store the backups with redundancy between two different AZs? #4735
Velero in Azure - Is it possible to store the backups with redundancy between two different AZs? #4735
Comments
You can change the StorageClass used in restore process. This is the document link: https://velero.io/docs/v1.8/restore-reference/#changing-pvpvc-storage-classes |
@blackpiglet the question is not related to the restore process, it is about having more resilience of the backups stored in Azure Thank you |
@BCMBCM Azure Velero plugin should support storing the backup in ZRS location, but we didn't test on it. It will be great if you have the chance to try that and see if it works as expected |
@ywk253100 Sorry If i haven´t explained it well. I am not trying to backup ZRS disks. What I would like to do is to be able to store my backup snapshots in a ZRS storage , to provide more resilence to those images. Thank you |
@ywk253100 Is there anything happening here? I would even declare this as feature request. |
@anshulahuja98 Could you answer this question? |
All managed disk snapshots in zonal regions are created as ZRS by default. https://learn.microsoft.com/en-us/azure/virtual-machines/disks-incremental-snapshots?tabs=azure-cli I am not fully sure if Azure Plugin might be specifically requesting for LRS snapshots, my hunch will be that snapshots in zonal regions will be ZRS by default. We have validated this in CSI Plugin based snapshotting. But for Azure Plugin based snapshotting you can perhaps give inputs on what default behaviour you are seeing. |
I also checked the code, doesn't seem like anything explicit is being set and hence snapshots must be ZRS by default, let us know if you see behaviour otherwise. |
Would request @chreichert to share some actual snapshots they have seen as part of backup in zonal regions as LRS as datapoint for investigation. |
@anshulahuja98 We recently switched to incremental backups after reading the docs again and understanding, that incremental backups always will be ZRS. So unfortunately I am not able to share snapshots to verify, that they are LRS even in a ZRS region. |
Yes perfect. Incremental is the recommendation. |
@anshulahuja98 Maybe some addition in the Azure Plugin docs would be helpful, that one should use incremental mode if ZRS snapshots are desired, as default behaviour is to use full backup mode. |
Valid suggestion. I'll do that. |
I am aware Velero is not able to backup Azure ZRS managed disks, but I would like to know if it is possible to store the pvc backup snapshots in ZRS target locations and how to do configure it (using velero plugin for Microsoft Azure)
Regarding the backups stored in the Blob STA, I understand it would just be a matter of deploying the Blob STA as ZRS. Is this right?
PS: Please can you label this issue as a question?
Thank you
The text was updated successfully, but these errors were encountered: