I currently have Mantis 1.0.8 running on a physical Ubuntu LAMP server. I am planning to move it to a virtual machine running basically the same LAMP setup except "virtualized". In order to move Mantis to the new virtual server, I was going to use PhpMyAdmin (or mysqldump) to export the Mantis database and backup my /var/www/mantis folder. Then, I would import the Mantis database and copy the backed up mantis folder to /var/www on the NEW virtual server.
Would the above steps work okay? Please let me know your thoughts !
I am by no means an expert on the matter, but a couple of months ago I did exactly what you are planning on doing.
The steps I took were:
stop apache
stop mysql
mysqldump the mantis database
copy /var/www/mantis to the new server
copy the database dump to the new server
copy relevant apache settings to new server
load the db dump
start apache & mysql on the new server
It worked perfectly.
The only "watch out for" I could mention is that we have a policy of keeping all configs in /etc/, so we have mantis setup so that /var/www/mantis/config_inc.php is a sym linnk to /etc/mantis/mantis.conf.php
If you do something similar make sure you grab any config files or anything else relevant that's not stored in /var/www/mantis.