-
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
replicas can't restore #5722
Comments
@631068264 |
When I backup the replicas is 2,then after restore the replicas must 2, whatever I do before restore. I think this is the basic reason for me to backup. Why Velero can't do that ? @blackpiglet What does the state include? Not inculude replicas ? |
I had some misunderstanding. The restore is applied to the same cluster as where the backup is created, right? |
Yes , this is what I want to say. So to achieve what I want , I must delete the backed resources even they have some changes before restore they in the same cluster? |
Yes. Velero will not overwrite the existing resources in cluster. This way is more conservative, but it's more safe to not trigger some unexpected issues. |
OK I see , thanks. |
What steps did you take and what happened:
[A clear and concise description of what the bug is, and what commands you ran.)
I try a simple example
bundle-2022-12-29-15-28-06.tar.gz
After backup ,change
replicas
to 3 from 2 , the restore result get success but number ofreplicas
is 3 not 2Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
velero version
): 1.8velero client config get features
):kubectl version
): v1.18.6/etc/os-release
):The text was updated successfully, but these errors were encountered: