Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Backing up and moving a MyBB forum
#1
This is a tutorial from my personal experience on how to backup and move a MyBB forum as well as it's database over to a new host.

It is very important that you follow all of the steps correctly otherwise you could lose your forum or corrupt something.

1. Download the entire public_html folder to your hard drive, off the server. (via FTP)
2. Log in to the ACP on MyBB and create a new database back up.
3. Log in to your host, then PhpMyAdmin and export a copy of the database.

It's always good to have two copies, right?

4. Change the DNS servers on your domain name, so that they're pointing to the new host.

Now, log in to your new host's cpanel.

5. Create a new MySQL database (I recommend naming the database the same as the previous, as well as the user.)
6. Select the database table that you've just created and import the MySQL database that you previously saved from when you backed up the old PhpMyAdmin table.
7. Add the user that you created to the database that you just created, and grant it all permissions.
8. Upload the entire public_html folder that you backed up before on the new host.

Now when you visit your site, you're thinking what?! An error? This is because you need to go in and edit the;

Code:
"inc/config.php"       file.

The bit that you're interested in is:

Code:
$config['database']['database'] = 'a216715_tablename';
$config['database']['table_prefix'] = 'tablename_';

$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'a216715_tablename';
$config['database']['password'] = 'p4a55w0rd';

It'll have the configuration of your old host, simply add the new info and then upload in to inc/ .

Now, refresh your website and you should be good to go.

If it still doesn't work, you may need to change the Board url and cookie path which can be found in "inc/settings.php" then re-upload it once you've made the necessary changes.

I think that just about covers it.

If you have any problems, post or PM me.

Extras:

The original post can be found here on my forum:

Original post / thread.

mcompute forums
Reply
#2
Thanks for this guide man, Great share!
Reply
#3
Glad it's of some us, i looked on here yesterday when i was moving my forum over and couldn't find a tut so i googled for a bit then made my own.
Reply
#4
(06-18-2010, 07:38 AM)MarkW7 Wrote: Glad it's of some us, i looked on here yesterday when i was moving my forum over and couldn't find a tut so i googled for a bit then made my own.

Good, amazing guide. What is the forums btw?
Reply
#5
Thank you, and my forum is: http://mcompute.co.uk
Reply
#6
(06-18-2010, 07:42 AM)MarkW7 Wrote: Thank you, and my forum is: http://mcompute.co.uk

Alright, I'll go check it out now Smile
Reply
#7
Thank you for this, I'll be sure to use this when it is needed/if.

~A
Reply
#8
Thank you, glad it's of use.
Reply
#9
Thanks for the nice share man.
Reply
#10
Thanks for this.
I had some idea on how to do this.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [MyBB] Problems after forum migration m1n3rman 2 1,388 07-04-2013, 03:46 PM
Last Post: Wolf
  myBB Forum Permission Cache Error - Crippling My Forum CruciasNZ 1 1,058 04-24-2013, 12:11 AM
Last Post: Kevin Cheri
  MYBB FORUM PERSISTENT ISSUE WITH LOGGING IN caclarkfrieson 10 5,322 06-02-2012, 03:22 PM
Last Post: caclarkfrieson
  How To Install MyBB | MyBB Installation Guide BreShiE 2 1,416 03-10-2012, 06:33 AM
Last Post: BreShiE
  MyBB forum board logo centered? Graveee 4 3,084 11-29-2011, 05:47 AM
Last Post: D3xus

Forum Jump:


Users browsing this thread: 1 Guest(s)