Skip to content
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

Can I undo an overwrited deployment from VS Code? #4318

Closed
khha opened this issue Nov 7, 2024 · 2 comments
Closed

Can I undo an overwrited deployment from VS Code? #4318

khha opened this issue Nov 7, 2024 · 2 comments

Comments

@khha
Copy link

khha commented Nov 7, 2024

I created before 3 functions in my Azure functions in the browser. Today I tested the Azure Function extension in VS Code and try to deploy to the same Azure Function. It gives me the popup message:

"are you sure you want to deploy to "nameOfMyFunction"? This will overwrite any previous deployment and cannot be undone".

Now my 3 functions are gone. I see just 1 new function which I deployed from VS Code. Can get my 3 functions back?

@nturinski nturinski modified the milestone: Backlog Nov 7, 2024
@MicroFish91
Copy link
Contributor

MicroFish91 commented Nov 13, 2024

Unfortunately, there is no way for us to have the service reverse the deployment operation. That is a big part of why we display that confirmation window :(

That said, if you have your previous deployment in source control, we recommend going back to a saved commit and redeploying from there if at all possible!

@khha
Copy link
Author

khha commented Nov 13, 2024

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants