The function app has altogether 5-6 functions. After creating a new function using vs code and after deploying to the same function app all the other existing functions in that function app got removed(possibly the new function overwrite all the older 1s.

Anindita Deb 0 Reputation points
2024-06-19T20:19:39.6033333+00:00

The function app has altogether 5-6 functions. After creating a new function using vs code and after deploying to the same function app all the other existing functions in that function app got removed(possibly the new function overwrite all the older 1s.Is there any solution to recover the existing functions of that function app.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,654 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    4 deleted comments

    Comments have been turned off. Learn more

  2. Marcin Policht 18,015 Reputation points MVP
    2024-06-19T20:30:46.65+00:00

    That's the expected behavior. More at https://learn.microsoft.com/en-us/answers/questions/818136/does-publishing-one-function-app-wipe-out-the-func

    You'd need to deploy all functions together.

    For the recovery options, refer to https://github.com/MicrosoftDocs/azure-docs/issues/18258

    Azure Functions creates an Azure File Share to store the functions. So, you can configure backups or create snapshots manually for this file share to keep track of changes being made but nothing is done by default. Without either of these enabled, I don't believe there is any way to recover the deleted files.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin