How to shift SMF forum to another server?

Discussion in 'Forum Management' started by Rage, Dec 31, 2007.

  1. #1
    I have DB backup, but its not working...

    any tutorial?
     
    Rage, Dec 31, 2007 IP
  2. rockinaway

    rockinaway Guest

    Best Answers:
    0
    #2
    How are you trying to restore the DB?
     
    rockinaway, Dec 31, 2007 IP
  3. rockinaway

    rockinaway Guest

    Best Answers:
    0
  4. calum

    calum Peon

    Messages:
    2,821
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Get a complete copy of the DB using phpMyAdmin.

    Get a complete copy of the SMF directory.

    Put the old SMF directory onto the new server. Create a database with the same name. Use phpMyAdmin to import the old database into the new one.

    That should work, but make sure the new and old SMF both have the same path (eg. yourdomain.com/forum and /public_html/forum)
     
    calum, Dec 31, 2007 IP
  5. inogenius

    inogenius Active Member

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #5
    If PhpMyAdmin is taking too long to import the database, you can upload the .sql file through FTP and import the database through command line.

    mysql -p -h -f locahost NEWDATABASENAME < backup.sql

    If you don't have SSH access, most hosts will do this for you.
     
    inogenius, Jan 1, 2008 IP