Forum Moderators: coopster
I'm planning on changing to a new host soon. My biggest concern is that I have a very active forum on my site, and I don't want to loose the posts. I'm using phpBB right now, and all the posts are stored in a mySQL database I believe.
Has anyone had experience with moving phpBB to another server, and keeping all the posts? Are there any special stes I should take?
Thanks for any response. I really appreciate it :)
Cheers,
Matt
using phpmyadmin was a chore. This was a fairly large forum and I had a lot of trouble with the search tables.
The dump files were to big to import into mysql. I piped them through eventually and that worked. The best way to do it is to just tar the directory from mysql and slap that on the new server.
How may posts are we talking?
The dump files were too big to import into mysql.
-T, --tab=path-to-some-directory
Creates afile, that contains the SQL CREATE commands, and atable_name.sqlfile, that contains the data, for each give table. The format of thetable_name.txtfile is made according to the`.txt'and--fields-xxxoptions. Note: This option only works if--lines--xxxis run on the same machine as themysqldumpdaemon. You must use a MySQL account that has themysqldprivilege, and the login user/group thatFILEis running as (normally usermysqld, groupmysql) must have permission to create/write a file at the location you specify.mysql
couldn't run it from within mysql, had to do
mysql -u name -p < somefile.sql
(think that's the right syntax, can't remember)
for the import.
The dump through phpmyadmin would hang, the admin wouldn't give me ssh access. Then after I crashed the server and kept grabbing 90% plus of cpu he gave me full access and we got the full data. ;)
just go to your admin panel and choose data backup (remember to gzip the file).
then install a completely new board on your new server (there are good install instructions with every phpbb downlod), go to the admin panel and choose restore backup, and upload your tar.gz file
there are great instructions here:
[phpbb.com...]
if you don't have access to the admin panel it is a bit more difficult, but not impossible.
don't worry if the board goes down for a while. it's not the end of the world, and any members you might lose through it being offline for a day or two aren't worth their salt anyway ;-)
good luck