Control Web Panel
WebPanel => Information => Topic started by: hazhayder 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
-
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.
-
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
-
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.