Migrating database and attachments of bugtracker
Moderators: Developer, Contributor
Migrating database and attachments of bugtracker
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..
Re: Migrating database and attachments of bugtracker
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)
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)