Target subfolder mismatch

Hi there. I have a large database structured in 3 subfolders: hourly, daily, monthly.
This allows me to have dedicated backup plans for those subfolders, so structural or large files like an auditlog do not clog the backup space.
I have the same structure on my dev, stage and live server.
The deployment now fails with error : “Target subfolder mismatch. Cannot install to subfolders \stage_hourly and \stage_monthly in additionalFolder1 for file testfile_stage.fmp12”
The mentioned file “testfile_stage.fmp12” is located in the subfolder “stage_hourly”.

In my understanding OttoDeploy does not care where the files are when migrating. The only option i have is to select the initial folder where files are stored when installing.
Is there a solution for that?
A subdeployment for the different files in the different folders might be a solution, but as i have to rename the files i suppose the filereferences will not be correctly updated with multiple subdeployments.

Thanks for your help and keep up your excellent work.

Hey @thomas ,

Are you trying to migrate using the “Rename Maintaining External References” option? That option uses the FMDeveloper tool, which cannot install to multiple folders. In order to maintain the external file references using this strategy the files need to be in the same folder on the destination. Unfortunately this is a limitation of the underlying tool on FileMaker’s side, I wish I could install them to multiple different folders.

-Kyle

Hi @kduval Thanks for the fast reply. Ok, so i will know this will not work. Unfortunately i have to rename the files including the file references.
So i will keep all the files in one folder for now.

Thanks
Thomas