New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Transfering CWP from one server to another

Started by hazhayder, April 07, 2016, 05:44:07 PM

Previous topic - Next topic

hazhayder

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

MyBuddyBen

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

hazhayder

Quote from: bentheman96 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.
Can you send me all command which i should execute ?
Thanks

Neo2SHYAlien

Quote from: hazhayder on August 02, 2016, 08:12:25 AM
Quote from: bentheman96 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.
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