Hi Rocael,
thank you very much for the script. I added this line to set all file storages to store to file system:
db_dml update_storeFilesInDatabaseP {update apm_parameter_values set attr_value = 0 where parameter_id in (select p.parameter_id from apm_parameters p where parameter_name ='StoreFilesInDatabaseP' and package_key = 'file-storage')}
Greetings,
Nima