How do I move a Bugzilla installation from one machine to another?
Reference your database vendor’s documentation for information on backing up and restoring your Bugzilla database on to a different server. Vendor documentation for backing up a MySQL database can be found at http://dev.mysql.com/doc/mysql/en/mysqldump.html. PostgreSQL backup documentation can be found at http://www.postgresql.org/docs/8.0/static/backup.html. On your new machine, follow the instructions found in Chapter 2 as far as setting up the physical environment of the new machine with perl, webserver, modules, etc. Having done that, you can either: copy your entire Bugzilla directory from the old machine to a new one (if you want to keep your existing code and modifications), or download a newer version (if you are planning to upgrade at the same time). Even if you are upgrading to clean code, you will still want to bring over the localconfig file, and the data directory from the old machine, as they contain configuration information that you probably won’t want to re-create.
Use mysqldump to make a backup of the bugs database. For a typical Bugzilla setup, such a command might look like this: /usr/bin/mysqldump -u(username) -p(password) –database bugs > bugzilla-backup.txt See the mysqldump documentation for more information on using the tool, including how to restore your copy onto the destination machine.
Related Questions
- I’ve completed the installation process and Network Connect is now running on my machine. Can I log out on the SacLink Secure Services window?
- Does The Backup Safe Job Manager upgrade the installation of Java on a client machine, or does it install a separate copy for it own use?
- How do I move a Bugzilla installation from one machine to another?