I need to move my Mantis installation from one Windows server to another. Everything seems to go smoothly except for attachments. The install on the new server is on a different drive and directory. The attachments are stored on DISK and the absolute path seems to be stored in the database.
So my question is does anyone know a quick and easy way to update the attachment paths?
Moving Attachements to Different Directory
Moderators: Developer, Contributor
The easiest way to do it at the moment is as follows:
1. Export the database to SQL (keep an unchanged backup copy).
2. Find and replace the path in the SQL file.
3. Upload the SQL to a different database and point Mantis to it. Or delete all tables and import into the same database.
Please report a bug in the bug tracker regarding this issue.
1. Export the database to SQL (keep an unchanged backup copy).
2. Find and replace the path in the SQL file.
3. Upload the SQL to a different database and point Mantis to it. Or delete all tables and import into the same database.
Please report a bug in the bug tracker regarding this issue.
Migrate your MantisBT to the MantisHub Cloud