UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » How do I duplicate my Forum?

How do I duplicate my Forum?

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Hi,

After doing some code modifications and adding existing mods on my test Forum, I would like to create others using my test Forum as a base.

What would be the best way to accomplish this, backup the forum folder and database (SQL dump) then upload the Forum to a new directory (changing the database info in config) and import the mysql dump into a new blank database or do a clean install, overwrite the modded files and the database?

Cheers,
Gene
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
You already asked this question (see here) and I already answered it.

There's no need to dump and reimport the database unless you are literally going to duplicate the forum, including all the members, forums, topics, posts, subscriptions, permissions, ...
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Dietrich wrote
You already asked this question (see here) and I already answered it.

There's no need to dump and reimport the database unless you are literally going to duplicate the forum, including all the members, forums, topics, posts, subscriptions, permissions, ...


I know it was already answered but it was a bit vague. The "model" forum only has a test user (plus Admin) and the Forums are all test (which will be changed). I do want to keep everything as is and only do minor changes.

Thanks,
Andre
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Dietrich wrote
You already asked this question (see here) and I already answered it.

There's no need to dump and reimport the database unless you are literally going to duplicate the forum, including all the members, forums, topics, posts, subscriptions, permissions, ...


That is exactly what I want to do, duplicate it.

And post 7498 says:

Quote
You don't need to dump the dataabse and import it somewhere in order to use your PHP mods, except for when you have altered the database (and still, there's no need to copy over all the content).


I already altered the database with default options the users can't override so it would be faster to simply drop everything in the new DB and import the modified sql dump, wouldn't it?

Cheers,
Gene
Moderator
Registered: Oct 2005
Posts: 437
Location: canada
There's a couple ways that I "duplicate" my databases.

You can do it by just using the same mysql username and database for each UseBB installation.

So that each UseBB installation goes off of the same MySQL database, automatic duplication.

OR. If you want to just transfer your database, you would have to do the export/import the database.

For example:

You have Install 1 and Install 2 and want to have both installs have the same data?

Use same MySQL username and password.

You have Install 1 and Install 2 and want to move Install 1's database to Install 2?

Export Install 1's database, and import into Install 2's database.
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Easy enough, create a new db, drop the tables and restore from my "model" db dump using phpmyadmin.

What if I want to replicate the site also (after all the modding and code changes I made), should I just do a fresh install then overwrite the changed files (if I remember all of them, LOL) or simply upload a local backup copy to a new folder?

Thanks for your help Gaia, I really appreciate it.
Gene
Moderator
Registered: Oct 2005
Posts: 437
Location: canada
You really shouldn't have to re-install UseBB then overwrite all the files again. Just upload all your modded files, edit config.php with your database information, then import your database.
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Fantastic, thanks again!

Gene

Page: 1

UseBB Community » Help & Support » How do I duplicate my Forum?

UseBB Community is powered by UseBB 1 Forum Software