The project team configured two servers at the end of last year, one of which was installed with Ubuntu9.10Server. Because the project team uses Bugzilla as the management of the bug lifecycle, it is necessary to migrate the Bugzilla. The following is a record of the migration process memo. Original server Ubuntu8.04Desktop, Bugzilla3.2.2 new server Ubuntu9.10Server-refer to some online solutions and plan to adopt
The project team configured two servers at the end of last year, one of which was installed with Ubuntu 9.10 Server. Because the project team uses Bugzilla as the management of the bug lifecycle, it is necessary to migrate the Bugzilla. The following is a record of the migration process memo.
Original server Ubuntu 8.04 Desktop, Bugzilla 3.2.2
New Server Ubuntu 9.10 Server ,--
Refer to some online solutions and plan to adopt a more secure approach to form the following ideas:
1. Back up the mysql database
Back up the database bugs to the file bugsdata. SQL
$ Mysqldump bugs> bugsdata. SQL
Modify bugsdata. SQL and add two lines to the file header.
Create database if not exists bugs;
USE bugs;
2. Restore the database on 9.10Server with mysql installed
This step must be before step 1, because Bugzilla's checksetup. pl will automatically upgrade the database script from 3.2.2 to 3.4.4
3. Package the Bugzilla folder and restore it to Ubuntu 9.10. (An error is reported during this step. If you forget the specific error, it is hard to handle it. Go to Step 3)
4. download the latest Bugzilla 3.4.4 and recompile it. For more information about how to download and configure Bugzilla without the built-in Bugzilla of ubuntu, see Ubuntu 8.04 to install Bugzilla 3.2.2.
To prevent changes in version folders and modify apache virtual directory files, you can create a symbolic link. For example, if the decompressed folder is Bugzilla_3.4.4, you can use ln-s Bugzilla Bugzilla_3.4.4 to create a symbolic link named, you can use this name in the apache virtual directory configuration. In the future, the new version will only update the point of the Bugzilla.