View Single Post
Old 18th June 2012, 17:02
dsautet dsautet is offline
Join Date: Feb 2012
Posts: 31
Thanks: 2
Thanked 2 Times in 2 Posts
Default Moving ispconfig3 on a new server


Actually I have two servers, one for my wesite and another for the mails.

In fact, I would like to transfert all the data from these servers to my new one.

Can I do that or I have two move to two differents servers?

All of my servers are equiped with linux and I install ISPconfig3 on the new server.

Here is my approach to move the data from the web server to the new one:

First I take my www folder :

tar -pczf www.tar.gz /var/www/

Then I save all the databases :
mysqldump -h localhost -uroot -p -c --add-drop-table --add-locks --all --quick --lock-tables --all-databases > sqldump.sql

I also take the passwd, shadow and group files.

And then I copy all these informations in my new server.

For information, the root password and rights will be the same.

Is this a good approach or I miss something?

Here is my approach to move the data from the mail server to the new one:

tar -pczf www.tar.gz /var/vmail/

mysqldump -h localhost -uroot -p -c --add-drop-table --add-locks --all --quick --lock-tables --all-databases > sqldumpmails.sql

Somebody can help me on that?

Thanks a lot!!
Reply With Quote
Sponsored Links