I have an issue where I have some files and folders missing on the owncloud storage system (local), where they are in the database. I know why this happened (storage migration).
I would like to remove these file entries from the database so that they are resynced from a Windows server where there is a copy of the files.
If I use the occ file:scan option, they are removed from the owncloud database but then when the sync app on the server starts they are removed from there as well.
Any ideas on how best to proceed.