Author Topic: Transfering CWP from one server to another  (Read 9890 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Transfering CWP from one server to another
« on: April 07, 2016, 05:44:07 PM »
Hello, how can i take backup of all accounts on the server and import it on another installation of centos-webpanel
?
is that possible ?
if yes then please tell me the steps

Offline
*
Re: Transfering CWP from one server to another
« Reply #1 on: April 11, 2016, 02:33:32 PM »
It is possible, I've done it.
There were elements that didn't get transferred though. For example I had inkscape installed on the old server, and it didn't install correctly on the new one.

But what you'll want to do is simply two things.
1) rSync from old to new server everything but a couple of directories. You will need /var/vmail/, /home for sure
2) MYSQLDUMP ALL databases, then import them on the new server. (http://stackoverflow.com/questions/9497869/export-and-import-all-mysql-databases-at-one-time)

Administrator here on forums can explain better.
Trying to help people :)
Chords and Lyrics

Offline
*
Re: Transfering CWP from one server to another
« Reply #2 on: August 02, 2016, 08:12:25 AM »
It is possible, I've done it.
There were elements that didn't get transferred though. For example I had inkscape installed on the old server, and it didn't install correctly on the new one.

But what you'll want to do is simply two things.
1) rSync from old to new server everything but a couple of directories. You will need /var/vmail/, /home for sure
2) MYSQLDUMP ALL databases, then import them on the new server. (http://stackoverflow.com/questions/9497869/export-and-import-all-mysql-databases-at-one-time)

Administrator here on forums can explain better.
Can you send me all command which i should execute ?
Thanks

Offline
*
Re: Transfering CWP from one server to another
« Reply #3 on: August 02, 2016, 06:31:44 PM »
It is possible, I've done it.
There were elements that didn't get transferred though. For example I had inkscape installed on the old server, and it didn't install correctly on the new one.

But what you'll want to do is simply two things.
1) rSync from old to new server everything but a couple of directories. You will need /var/vmail/, /home for sure
2) MYSQLDUMP ALL databases, then import them on the new server. (http://stackoverflow.com/questions/9497869/export-and-import-all-mysql-databases-at-one-time)

Administrator here on forums can explain better.
Can you send me all command which i should execute ?
Thanks

Will be a lot easier to do rsync / with exclude /proc /dev /sys.
“Would you tell me, please, which way I ought to go from here?”
“That depends a good deal on where you want to get to,” said the Cat.
“I don’t much care where–” said Alice.
“Then it doesn’t matter which way you go,” said the Cat.
Neo2SHYAlien's Blog