LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » Contributed HOWTOs » migration script from ensim (parallels pro) to kloxo(a script to migrate from ensim to kloxo)
icon14.gif  migration script from ensim (parallels pro) to kloxo [message #76682] Mon, 06 September 2010 16:07 Go to next message
NuestroServer is currently offline NuestroServer  
Messages: 65
Registered: July 2010
Location: Quito, Ecuador
Valuable Member

hi,
We have created a migration script that "almost" migrate everything but the email users' passwords.

The script must receive an ensim backup tar.gz as a parameter. Then the script summarize what you have to create in order for it to import the site (for example database names changes).

After you have completed creating everything the script requires.. mainly: database names, usernames, subdomains... then the script migrates everything from the tar.gz to kloxo.

Hope it is useful. If you find a problem, dont hesitate to contact us.

If you think some other tasks could be automated (automagically creating usename and passwords will be nice!) dont hesitate to contact us with patches so we can improve it.

how to install it:
open the tar.gz into /root/scripts
chmod +x scripts/ensim*

how to run it:
/root/scripts/ensim2kloxo.php backupofasite.tar.gz

follow the directions..

Oh sorry, the script is in spanish, I hope to have some time to translate it to english but I have not.. if somebody can help us translating it to english, we can update the download link. The phrases are quite simple and easy to translate via google translator for example.
Re: migration script from ensim (parallels pro) to kloxo [message #76688 is a reply to message #76682] Mon, 06 September 2010 16:37 Go to previous messageGo to next message
Walter  Brazil
Messages: 865
Registered: February 2009
Location: Florianopolis / BR
Senior Master
Forum Moderator
LxCenter Project Manager

I haven't checked all of it yet (actually just a handful lines), but I've noticed the paths are incorrect. For example:

$DIR_MAIL="/home/lxadmin/mail/domains/"

Where "lxadmin" (obsolete) should be "kloxo".

I will see how to change the password to a default "changeme123" using the API and post here (pm me if i forget).

Oh, and thanks for your contribution! Very Happy

You win 1 internets and a pony*.

* subject to a full background check and a 1 BILLION DOLLARS shipping fee paid upfront.

[Updated on: Mon, 06 September 2010 16:40]

Report message to a moderator

Re: migration script from ensim (parallels pro) to kloxo [message #76689 is a reply to message #76688] Mon, 06 September 2010 16:42 Go to previous messageGo to next message
NuestroServer is currently offline NuestroServer  
Messages: 65
Registered: July 2010
Location: Quito, Ecuador
Valuable Member

hum, our /home/kloxo/domain is empty however /home/lxadmin/mail/domains is full of dirs (each dir belongs to one domain)

are you sure it is /home/kloxo ? with /home/lxadmin/domains/mails everything workds like a charm
Re: migration script from ensim (parallels pro) to kloxo [message #76691 is a reply to message #76689] Mon, 06 September 2010 16:45 Go to previous messageGo to next message
NuestroServer is currently offline NuestroServer  
Messages: 65
Registered: July 2010
Location: Quito, Ecuador
Valuable Member

the mysql root password has been changed to changeme123 (inside the ensim2kloxo.php script) please people dont forget to change it before using the script.

Re: migration script from ensim (parallels pro) to kloxo [message #76692 is a reply to message #76689] Mon, 06 September 2010 16:52 Go to previous message
Walter  Brazil
Messages: 865
Registered: February 2009
Location: Florianopolis / BR
Senior Master
Forum Moderator
LxCenter Project Manager

You are correct. I wonder why it didn't change in the lxadmin<>kloxo transition. Frown

Disregard my comment. And just so you know the offer for a free pony is withdrawn.

Now to look at the API for a solution to the passwords...
Previous Topic:migrate email accounts and emails message from fedora core 2 to CentOS5
Next Topic:Account Lab Plus with Kloxo
Goto Forum:
  


Current Time: Wed May 22 22:04:27 EDT 2013

Total time taken to generate the page: 0.01100 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software