Moving Forums To New Server

Discussion in 'Green Room' started by Bman, Mar 18, 2008.

  1. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    I am not where to post this, so I said General.

    I have forums up and running on a server, with members and posts and it's pretty much gaining speed. Me and the other Admin have a new server of our own. We would like to move the forums from the server it is on to a the new server.

    I have never done this, we want to move it without losing users and posts and all that. Since I think it has been done here before I am asking you guys (mainly EP).

    Can it be done? How?
     
  2. ray_gillespie

    ray_gillespie Moderator Staff Member Political User

    Messages:
    1,692
    Location:
    Birmingham, UK
    Can you back up the entire thing with the forum's backup utility, then move server, then reinstate everything?
     
  3. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    What forum software?
     
  4. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
  5. Dark Atheist

    Dark Atheist Moderator Political User Folding Team

    Messages:
    6,376
    Location:
    In The Void
    back up the db, set up the new forum and restore the db
     
  6. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    the db? and how would I do that, I can't seem to find any options to do that within the admin controls of the forum.
     
  7. vern

    vern Dominus Political User Folding Team

    Messages:
    1,571
    Location:
    Minnesota, USA
    Easiest would be to use mysqldump from the command line and restoring from command line as well with your db dumps in hand.

    http://www.webcheatsheet.com/SQL/mysql_backup_restore.php seems like a good guide. You can also do this with phpMyAdmin if that is what you are comfortable with.

    After that is done, all you have to do is edit the information to match your new host in the SMF Settings.php.
     
  8. Bman

    Bman OSNN Veteran Original

    Messages:
    8,799
    Location:
    Ottawa, Ontario
    Thanks, I will let you know if this worked out.