Page 1 of 1
Using Files as file holder instead of mantiS_bug_file_table
Posted: 13 Aug 2010, 07:15
by seaquest
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,
Re: Using Files as file holder instead of mantiS_bug_file_ta
Posted: 13 Aug 2010, 07:25
by atrol
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.