cPanel-to-DirectAdmin conversion tool

Hi,

Some how the tool stops working, see below ssh output, who can help me with this?

Thank you!


root@web:/test# perl da.cpanel.import.pl

Welcome to the cPanel-to-DirectAdmin conversion tool, version .9.4.
Tool created by Phillip Stier <[email protected]>.
Please report bugs to this thread on the DirectAdmin forum:
http://directadmin.com/forum/showthread.php?t=2247

Read:
This tool exclusively uses the cPanel backup file to do the conversion,
so this tool can be executed on the cPanel OR DirectAdmin server.
Before starting, copy your cPanel backups into the ./import directory
This tool will covert backups created by both
- the '/scripts/pkgacct' script, and
- cPanel's 'Full Backup' GUI tool.
After running this tool, transfer the tarballs inside ./export to any DirectAdmin reseller's 'user_backups' directory.

Have you read, understood and applied the above? (y/n) [y] y

[If you are running this tool on the cPanel server]: After this tool is finished, should successfully created DirectAdmin tarballs be transferred to your DirectAdmin reseller user_backups directory? (y/n) [n] y

You've chosen to automatically transfer tarballs over.. please provide your DA server info...
DirectAdmin server address: [149.210.146.172]
DirectAdmin user_backups directory: [/home/admin/user_backups]


Checking for ./import/... OK
Checking for ./export/... OK

We're about to begin the conversion process.
All tarballs residing in ./import/ will be checked for validity and converted to the DirectAdmin format.
DirectAdmin formatted tarballs will be placed in ./export/.

Shall we begin? (y/n) [y] y

No tarballs attempted/converted.

~fin.

root@web:/test#

Tool is working fine now.

Thank you
 
did you find a problem or just try again and it worked?

Hi,

I had a file exported from cpanel have size 2,6GB i was running the tool on a 4GB ram server, the tool stops running, i have transported the exported file to a 32GB ram server and have running again the tool, then the export was completed to a DA file.

So my problem was memory underrun
 
I had a file exported from cpanel have size 2,6GB i was running the tool on a 4GB ram server, the tool stops running, i have transported the exported file to a 32GB ram server and have running again the tool, then the export was completed to a DA file.
Wasn't it nice in the good old days when 500 MB was enough for a webserver :).

No kidding; I started with Cobalt RaQ with 300MB and almost no memory.

This summer we finished moving everything off servers with less than 24 GB RAM. Built with CentOS 6 so hopefully server and hardware will both last until CentOS 6 EOL a bit over six years from now (Nov 30, 2020).

(One of the servers we pulled out of service had been running over ten years (continuously about 15 months) when we pulled it. Made a lot of money on that one :).

Jeff
 
The script doesn't work, it creates fine the files but when restoring in latest DA it doesn't create anything apart from the home directories, nothing in pubilc_html etc. Anyone with a suggestion how to migrate many accounts from Cpanel not manually?

Thanks
 
Does DirectAdmin give any errors when trying to restore?

Does everything else except contnt of public_html get properly restored? For example, email, mysql, etc.?

I'd suggest you manually untar one of the user backups created by the script and see if everything is where it should be. If you're not sure, untar a backup Directadmin makes on your server to verify.

Jeff
 
IMAP Convertion

Hello,
I'm from Brazil and my english is poor, sorry.

I'm using it convertion tool, but my mailboxes wasnt converted.
This erro show:
POP3/IMAP Accounts and data... cp: cannot stat `./export/contaud/backup/contaud.com/email/data/imap/pessoal/Maildir/courierimapsubscribed': No such file or directory
cp: cannot stat `./export/contaud/backup/contaud.com/email/data/imap/contabil/Maildir/courierimapsubscribed': No such file or directory
cp: cannot stat `./export/contaud/backup/contaud.com/email/data/imap/gabriela/Maildir/courierimapsubscribed': No such file or directory
cp: cannot stat `./export/contaud/backup/contaud.com/email/data/imap/fiscal/Maildir/courierimapsubscribed': No such file or directory
(6 converted)

Can someone help me?

Thanks.
 
Hi,

I am getting the same error vservs received. However, I am trying to convert a 500 MB cpanel backup with a 8 GB machine. Memory is not the problem.
Any Idea on what could be causing the "No tarballs attempted/converted" error?
Thanks in advance.

Best regards,

Isaias
 
Last edited:
Problem with crontab.conf of users

Hello
Since the convert script, also convert and use the crontab.conf , in some cases some commands from Cpanel will come into DA that will make problem for DA's cronjobs.
the lines are like this:
0=0 SHELL="/bin/false"
0=0 SHELL="/usr/local/cpanel/bin/jailshell"

If its possible, it would be better to completely not use of Cpanel's crontab.conf and/or have an option to disable it at the start of convert.

Thanks
 
It is an old thread but the migration tool is always needed.
Does the Cpanel to directadmin transfer tool still work today?
 
It is an old thread but the migration tool is always needed.
Does the Cpanel to directadmin transfer tool still work today?

I used it in the past (with a patch I found somewhere) to much success, but I don't think I remembered to back up my patched version when I migrated off my last CentOS 5 machine, so I'm not sure how it works today.

That said, it looks like there is a new version here: http://forum.directadmin.com/showthread.php?t=52792&p=280613#post280613

Bonus points for being maintained by smtalk.
 
How to execute the tool

Hey guys,

I would love to use your tool but I can't find a way to execute it via direct admin. Can you guys tell me where to execute this tool? If there is a video of the tool working that would be great!
 
Back
Top