cPanel-to-DirectAdmin conversion tool

Perhaps.

I've had a lot of requests to make this a DA plugin, or at least write a DA plugin interface for this tool. That may happen. :)

Personally, I think if I put together some real step-by-step instructions this tool may not need to be GUIized.
Perhaps I can look into converting mail forwarders. I'll also convert +'s to @'s in pop3 logins :)
I need to do that yet too :)

Phi1.
 
hmm i got some problem copying the ftp acct over...

Cannot restore the ftp account for [email protected]. You have reached your limit ().
Cannot restore the ftp account for [email protected]. You have reached your limit ().
Cannot restore the ftp account for
Cannot restore the ftp account for [email protected]. You have reached your limit ().

how do i solve this?
 
I am getting this during the output of the examining stage:
Code:
 Fround user decoju00..mv: can't stat source ./import/decoju00
.
        Copying remaining files... mv: can't stat source ./import/decoju00/homedir/public_html

Is there something I am doing wrong?
 
sansobar said:
hmm i got some problem copying the ftp acct over...

Cannot restore the ftp account for [email protected]. You have reached your limit ().
Cannot restore the ftp account for [email protected]. You have reached your limit ().
Cannot restore the ftp account for
Cannot restore the ftp account for [email protected]. You have reached your limit ().

how do i solve this?
I'm going to guess that the number of FTP accounts in the cpanel backup exceeds the limit on FTPs it provides.
 
jechilt said:
I am getting this during the output of the examining stage:
Code:
 Fround user decoju00..mv: can't stat source ./import/decoju00
.
        Copying remaining files... mv: can't stat source ./import/decoju00/homedir/public_html

Is there something I am doing wrong?
That's weird. Did you put a proper /scripts/pkgacct backup in export/?
 
we ran a backup from the user cpanel (SiteManagement--Backups) and ftp the file to the DA server.
 
jechilt said:
we ran a backup from the user cpanel (SiteManagement--Backups) and ftp the file to the DA server.
Ah, yes. That IS supposed to work..

I just sucessfully created a backup from cPanel's ~/frontend/x/backup/fullbackup.html and it restored into DA fine.

Not sure why this wouldn't work for you. Are you sure what you made was a full backup?
 
let me log in as the actual user and try again. will post results.

EDIT for RESULTS:
The backup was run and FTP to the DA server. Ran the program and it ran just as it should. There must be some issue with connecting to the user cpanel from the WHM panel...?

Thanks for the response...sorry for my error.

Kind Regards...
 
Last edited:
another annoying problem

we have one account that just refuses to cooperate.
When the perl script is run, it continues to bomb at the mailbox:
Code:
[email protected]: can't stat source ./import/chelti00/homedir/mail/tina/inbox

Once it hits this, the rest of the data is ignored so the 125mb account ends up being 7mb after conversion. any suggestions to resolve this?
 
Hello,

Is chelti00 the user's name? In both cases where this converter failed there are two zeros tacked on the end of the username. I'm guessing those shouldn't exist?

If I'm correct, reply with the full name of the cPanel tarball that you're trying to convert to DA format.

Phi1.
 
chelti00 is the username.
here is what the script shows when it runs:
Code:
 backup-11.4.2004_00-13-20_chelti00.tar.gz...
        Fround user chelti00...
        Switching to cheltina.com...
                Collecting subdomains...
                Building DNS...
                Processing FTPs...
                Collecting pop3 addresses...
                        [email][email protected][/email]v: can't stat source ./import/chelti00/homedir/mail/tina/inbox
what do you suggest we change?
 
Change line 356 (or thereabouts) of the perl script from:
Code:
`mv ${ROOT_PATH}import/$incoming_user/homedir/mail$cP_mbox_domain_bit/$login/inbox ${ROOT_PATH}export/$incoming_user/backup/$domain/email/data/pop/$login`;
to:
Code:
`if [ -e ${ROOT_PATH}import/$incoming_user/homedir/mail$cP_mbox_domain_bit/$login/inbox ]; then mv ${ROOT_PATH}import/$incoming_user/homedir/mail$cP_mbox_domain_bit/$login/inbox ${ROOT_PATH}export/$incoming_user/backup/$domain/email/data/pop/$login; fi`;
Then give it another go.
 
Back
Top