As a member of the Paul Davies team of Manufacturing eSOP Division at Siemens Mobility, this is an application note solution shared on the forum for anyone or team who encounters the same problem which we experienced with respect to difficulties in uploading/deploying bulk files (in our case over 100,000 files) of our project to the Mendix cloud node during deployment of the project app and files.
It is important to note that, according to Mendix support, deployment of the project app from Mendix Studio Pro only uploads the app build and not the actual files which are in the “deployment” folder. In other words, at the initial stage, the database is uploaded as backup to the environment and the app build is deployed from the Mendix Studio Pro which also contains your assests/bulk files you want uploaded. However during the deployment of the app build to the cloud node, only the the app build is uploaded excluding the bulk files which are contained in the “deployment/data/” folder.
We had tried a number of different attempts for weeks to upload the bulk files, but we were unsuccessful EXCEPT for one method which we will be sharing with you in case any other person or team encounters the same problem in the future.
The solution with the help of MX support was downloading the Full Snapshot (which downloads as a .tar.gz file format), extracting, adding the files and re-archiving (in a .tar.gz file format again) and re-uploading back to the Backup page via “Upload Backup”.
Below are the steps:
tar.exe -czvf aNameHere.tar.gz tree db