Moving entire site to a new machine

Rushian 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Moving entire site to a new machine

Rushian
OP
0
From: -
From: -
Moving entire site to a new machine
Ok, great! Thanks!
Ok, great! Thanks!
1 Re: Moving entire site to a new machine

Philipp
From: Austria
Administrator
1342From: Austria
Moving entire site to a new machine
I would dump the database to a SQL file:
You need to replace username with your MySQL username, password with your MySQL password, and database with the database name.
Then import the SQL file on the new machine:
I would dump the database to a SQL file:
mysqldump -uusername -ppassword database > database.sql
You need to replace username with your MySQL username, password with your MySQL password, and database with the database name.
Then import the SQL file on the new machine:
mysql -uusername -ppassword database < database.sql
I am currently self-hosted on a Windows box.
The hardware is almost 5 years old (running WinNT and IIS4 no less)
How do I move the databases to the new machine? Is it as easy as copying all the storyteller databases from my /mysql/data/ folder to the new machine? (Assuming the db username and passwords are set up the same on the new machine?)
Is there a better or more sophisticated way of doing it?
Thanks,
-Rushian