Its a Java based app which has local database Derby (flat file based) that is listening on the particular port. Application functions correctly and works as expected. Within the site’s root folder C:\home\site\server\history> there are multiple folders, subfolders and files. And these folders hold templates which are visible in the front-end portal. See the below structure of the site folder observed from Kudu console
What we want to do is move all the folder/files from the history folder mentioned above to the storage account’s file share. Storage account has private endpoint and in the same vnet as the above web app and in the same region. In the web app, mounted the storage account and pointed to the storage account’s file share and linked to the virtual directory (see the screen shot below).
My assumption is, doing this setup, web app will read/write the templates from/to the history folder from the storage account’s file share and we don’t have to maintain the history folder that grows which is present under the C:\home\site\server\history. I tried the above setup but no luck. The template from the storage account don’t populate.
Is the above setup valid and viable?
cc @VenkateshDodda-MSFT