Best way to migrate existing faq to another server

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Dawn
Posts: 95
Joined: Tue May 23, 2006 2:10 pm

Best way to migrate existing faq to another server

Post by Dawn »

Hi,

I wanted to ask here whats the best way to migrate an existing faq to another host and upgrade to the latest phpmyfaq.

Situation:
I'm running phpmyfaq 1.6.11 on domainA.com. Now I want to move my faq to domainB.com and upgrade to version 2.0.1. This 2 domains are using different databases.

Can anybody tell me the exact steps I have to do when I want to migrate correctly without any problems?

Greets and best regards,
Dawn
Thorsten
Posts: 15731
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

- creating a dump of the database from the old server
- creating the database on the new server and install the data from the dump
- copy all new files from 2.0.1 on the new server
- copy the directories data/, images/, pdf/, xml/ from the old server to the new server
- copy inc/config.php and inc/data.php from the old server to the new server
- run update.php on the new server

Maybe you have to edit the values in data.php for the new server if the hostname or the database name changed.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Dawn
Posts: 95
Joined: Tue May 23, 2006 2:10 pm

Post by Dawn »

Thanks a lot it worked fine :)

Best regards,
Dawn
remuze
Posts: 12
Joined: Tue Oct 03, 2006 2:49 pm

Post by remuze »

If you used attachments, don't forget the attachments directory :wink:
Post Reply