We have installed Mantis 4 years ago and we have lots of file attached to bugs and all of them are in mantis_bug_file_table. I want to turn into files as bug file holder. How can I export files in the table and change the links in appropriate tables accordingly to reach the bug files from file system files?
Regards,
Using Files as file holder instead of mantiS_bug_file_table
Moderators: Developer, Contributor
Re: Using Files as file holder instead of mantiS_bug_file_ta
The admin directory which you removed after installation
contains a script system_utils.php
Restore you admin directory and start the script
There is a link "Move attachments stored in database schema to disk files."
I never tried myself, but seems not to be a big risk, because after migration to disk the original data is not removed in database.
After you checked that all works fine you can delete the database contents manually.
Restore you admin directory and start the script
There is a link "Move attachments stored in database schema to disk files."
I never tried myself, but seems not to be a big risk, because after migration to disk the original data is not removed in database.
After you checked that all works fine you can delete the database contents manually.