Migrating database and attachments of bugtracker

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
anpa
Posts: 1
Joined: 15 Dec 2009, 11:21

Migrating database and attachments of bugtracker

Post by anpa »

The attachments on our bugtracker are saved on the server as files and not on the database. Currently we are able to backup the database and migrate it to another bugtracker but this is impossible with the attachments. What would be the best way to back them up?Do we need to pay attention to something special before doing anything??Thanks in advance..
atrol
Site Admin
Posts: 8376
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Migrating database and attachments of bugtracker

Post by atrol »

I did not try by myself, but should work as follows:
Copy all directories that are configured as "Upload File Path" in your projects to the new machine.
If you are able to copy to the same path as before, this should be enough.
If not, you have to configure your projects to the new path in project manage page and you will have to update the columns "diskfile" and "folder" in table "mantis_bug_file_table" (or <YourSettings>_bug_file_table)
Please use Search before posting and read the Manual
Post Reply