leo charre

contact links about resume

dev design near life experience heroes




move bugzilla to another server

I wanted to move my bugzilla from server wingnut to server thumbscrew.

  1. 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
  2. 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
  3. 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.


Linux User