move bugzilla to another server
I wanted to move my bugzilla from server wingnut to server thumbscrew.
-
First I logged into thumbscrew, and I use scp from copy everything..
scp -r root@wingnut:/var/www/public_html/bugzilla /var/www/public_html/bugzilla
-
Now I have to get the database..
I log into wingnut and run mysqldump, -p will prompt for password.
(My database is casually named.. bugzilla.)mysqldump -p -r /tmp/bugzilla.sql bugzilla
- Now I go back to thumbscrew and retried the database backup, and then feed it locally.
scp root@wingnut:/tmp/bugzilla.sql ./ mysql -p bugzilla < bugzilla.sql
Voila. Done. Unix runs you. Windows is for users.
