Using Files as file holder instead of mantiS_bug_file_table

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
seaquest
Posts: 2
Joined: 12 Dec 2008, 15:59

Using Files as file holder instead of mantiS_bug_file_table

Post 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,
atrol
Site Admin
Posts: 8578
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Using Files as file holder instead of mantiS_bug_file_ta

Post 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.
Please use Search before posting and read the Manual
Post Reply