DirectAdmin Forums

Go Back   DirectAdmin Forums > Modifications / Add-ons > 3rd Party Software

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2004, 03:46 PM
l0rdphi1 l0rdphi1 is offline
Verified User
 
Join Date: Jun 2003
Posts: 1,467
[RELEASE] cPanel-to-DirectAdmin account conversion tool

This tool works by converting cPanel user backups to DirectAdmin user backups. This tool is designed to read all data directly from the cPanel user backup files; therefore, this tool can be executed on either the cPanel or DirectAdmin server.

This tool will covert cPanel backups created by both
- the /scripts/pkgacct script, and
- cPanel's 'Full Backup' GUI tool.


VERSIONS

Current Version: v.9.4
Last updated 2009-01-13
http://kade.nu/da/da.cpanel.import.9.4.tar.gz

Old Version: v.8.3
Last updated 2004-11-04 at 5:47 PM EST
http://data1.liquenox.com/installatr..._import.tar.gz
(without Maildir support)


INSTRUCTIONS

1/ Download and extract the version URL (from above) that you wish to use. (wget and tar xzf)

2/ Create import and export directories for the tool to use. (mkdir import export)

3/ Copy your cPanel user backups into the import directory.

4/ Edit defaults.conf to match the DA server you will be restoring to. The only fields you must change are the IP and name server fields. The tool will not work if you fail to do this!

5/ Execute perl da.cpanel.import.pl and follow the on-screen instructions (which will duplicate the steps here to a degree).

6/ After the tool is finished converting (or as it completes each individual user), move your new DA user backups from the export directory to any DA /home/RESELLER/user_backups directory*

7/ Restore the DA user backups in DA's reseller-level Manage User Backups tool.

That's it!

*If the tool is being executed on a cPanel server, you can optionally have the tool automatically transfer your new DA user backups (after all conversion is complete) to a remote server.


ITEMS ACTUALLY CONVERTED

As of the current beta version, the following should convert:
  • basic account allocations
  • sub-domains
  • FTP accounts
  • POP3 and IMAP accounts
  • All mail data (Maildir and/or mbox format**)
  • Squirrelmail settings
  • addon domains
  • user home files
  • mysql databases
  • domain pointers
  • crontab entries
**If cPanel is using Maildir format and you wish to restore mail data, you must upgrade DirectAdmin (via Dovecot) to use Maildir before restoring the converted accounts. See link 1, link 2, and link 3.


OTHER NOTES & SUPPORT

This tool is provided at no cost and without warranty.

If you have questions, concerns, or run into problems, please reply to this thread.

If you wish to pay someone to convert for you, there are individuals that can help on this forum (myself included ).

Good luck & Happy converting!

Phi1
__________________
Installatron Applications Installer gives you and your users an intuitive interface to install, upgrade, and backup/restore a growing collection of web apps. It's a native DirectAdmin plugin and is absolutely FREE for one domain!

Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

Last edited by l0rdphi1; 01-13-2009 at 02:17 PM.
Reply With Quote
  #2  
Old 02-26-2004, 08:50 AM
DirectAdmin Support DirectAdmin Support is offline
Administrator
 
Join Date: Feb 2003
Posts: 6,693
Hello,

Just put the crypted pass in the .shadow file... (make sure there is no newline at the end of the file). DA will use that for the new accounts.

Nice work

John
Reply With Quote
  #3  
Old 02-26-2004, 12:38 PM
l0rdphi1 l0rdphi1 is offline
Verified User
 
Join Date: Jun 2003
Posts: 1,467
If that's the case, account passwords should be working right now!

Also, as of today, I've lost my testing abilities on a cP server, so someone will have to confirm that it in fact does work.
__________________
Installatron Applications Installer gives you and your users an intuitive interface to install, upgrade, and backup/restore a growing collection of web apps. It's a native DirectAdmin plugin and is absolutely FREE for one domain!

Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool
Reply With Quote
  #4  
Old 02-27-2004, 01:24 AM
teedee teedee is offline
Verified User
 
Join Date: Oct 2003
Posts: 152
I have a few CPanel boxes if you need to test some more
Reply With Quote
  #5  
Old 02-27-2004, 04:31 AM
l0rdphi1 l0rdphi1 is offline
Verified User
 
Join Date: Jun 2003
Posts: 1,467
If you like, sure. In my spare time I could also get a few more things converting over to DA..

I'll PM you
__________________
Installatron Applications Installer gives you and your users an intuitive interface to install, upgrade, and backup/restore a growing collection of web apps. It's a native DirectAdmin plugin and is absolutely FREE for one domain!

Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool
Reply With Quote
  #6  
Old 03-01-2004, 01:51 PM
FeBox FeBox is offline
Verified User
 
Join Date: Dec 2003
Posts: 26
l0rdphi1,

Will your site be coming back up?
Reply With Quote
  #7  
Old 03-01-2004, 05:06 PM
l0rdphi1 l0rdphi1 is offline
Verified User
 
Join Date: Jun 2003
Posts: 1,467
Bloody Nocster. Should be up now.
__________________
Installatron Applications Installer gives you and your users an intuitive interface to install, upgrade, and backup/restore a growing collection of web apps. It's a native DirectAdmin plugin and is absolutely FREE for one domain!

Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool
Reply With Quote
  #8  
Old 03-01-2004, 05:16 PM
FeBox FeBox is offline
Verified User
 
Join Date: Dec 2003
Posts: 26
Yea, boo @ nocster. :P

Thanks!
Reply With Quote
  #9  
Old 03-18-2004, 03:14 PM
thoroughfare thoroughfare is offline
Verified User
 
Join Date: Aug 2003
Posts: 575
Here goes... I'm gonna try this... arrrggghhh!!!

Fingers crossed

Matt
Reply With Quote
  #10  
Old 03-18-2004, 03:30 PM
thoroughfare thoroughfare is offline
Verified User
 
Join Date: Aug 2003
Posts: 575
PS Anyone know how to create a cPanel backup instantaneously rather than waiting for it to run according to schedule?

Thanks,
Matt
Reply With Quote
  #11  
Old 03-18-2004, 03:30 PM
l0rdphi1 l0rdphi1 is offline
Verified User
 
Join Date: Jun 2003
Posts: 1,467
Godspeed. Hopefully all will go smooth
__________________
Installatron Applications Installer gives you and your users an intuitive interface to install, upgrade, and backup/restore a growing collection of web apps. It's a native DirectAdmin plugin and is absolutely FREE for one domain!

Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool
Reply With Quote
  #12  
Old 03-18-2004, 03:31 PM
l0rdphi1 l0rdphi1 is offline
Verified User
 
Join Date: Jun 2003
Posts: 1,467
Quote:
Originally posted by thoroughfare
PS Anyone know how to create a cPanel backup instantaneously rather than waiting for it to run according to schedule?

Thanks,
Matt
Hmm.. no

Could you trick it into thinking it's time to build them?
__________________
Installatron Applications Installer gives you and your users an intuitive interface to install, upgrade, and backup/restore a growing collection of web apps. It's a native DirectAdmin plugin and is absolutely FREE for one domain!

Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool
Reply With Quote
  #13  
Old 03-18-2004, 03:34 PM
thoroughfare thoroughfare is offline
Verified User
 
Join Date: Aug 2003
Posts: 575
That what I was thinking... I'm looking through cron now

Matt
Reply With Quote
  #14  
Old 03-18-2004, 03:36 PM
thoroughfare thoroughfare is offline
Verified User
 
Join Date: Aug 2003
Posts: 575
Just a quick question... in default.conf, is 'owner=' the reseller that owns the accounts I'm moving?

Also, are the tars in /export labelled by username?

Thanks,
Matt
Reply With Quote
  #15  
Old 03-18-2004, 03:50 PM
l0rdphi1 l0rdphi1 is offline
Verified User
 
Join Date: Jun 2003
Posts: 1,467
In default.conf, owner= should be set to the DirectAdmin reseller you'd like to own the converted accounts.

And yes, tarballs are labled by username.
__________________
Installatron Applications Installer gives you and your users an intuitive interface to install, upgrade, and backup/restore a growing collection of web apps. It's a native DirectAdmin plugin and is absolutely FREE for one domain!

Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool
Reply With Quote
  #16  
Old 03-18-2004, 03:53 PM
thoroughfare thoroughfare is offline
Verified User
 
Join Date: Aug 2003
Posts: 575
Great You've got another vote for DA forumer of the year

Thanks,
Matt
Reply With Quote
  #17  
Old 03-18-2004, 04:08 PM
thoroughfare thoroughfare is offline
Verified User
 
Join Date: Aug 2003
Posts: 575
Found it!

For future reference... use:

PHP Code:
/scripts/cpbackup 
Make sure that you've configured the backups in your root WHM first though

More updates soon.

Thanks,
Matt
Reply With Quote
  #18  
Old 03-18-2004, 04:09 PM
thoroughfare thoroughfare is offline
Verified User
 
Join Date: Aug 2003
Posts: 575
Oh, one more question Phi1... if I need to change the owner, can I just edit default.conf and run the perl script again?

Thanks,
Matt
Reply With Quote
  #19  
Old 03-18-2004, 04:16 PM
l0rdphi1 l0rdphi1 is offline
Verified User
 
Join Date: Jun 2003
Posts: 1,467
Quote:
Originally posted by thoroughfare
Oh, one more question Phi1... if I need to change the owner, can I just edit default.conf and run the perl script again?

Thanks,
Matt
Sure, I think
__________________
Installatron Applications Installer gives you and your users an intuitive interface to install, upgrade, and backup/restore a growing collection of web apps. It's a native DirectAdmin plugin and is absolutely FREE for one domain!

Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool
Reply With Quote
  #20  
Old 03-18-2004, 04:35 PM
thoroughfare thoroughfare is offline
Verified User
 
Join Date: Aug 2003
Posts: 575
Iiiiiiiiiiiiiittttttttttt's running!

Matt
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
StyleSmooth - The Ultimate skin for DirectAdmin and cPanel – NOW FREE! stylesmooth Skin Releases 43 11-01-2007 07:39 AM
directadmin to cpanel elrehab 3rd Party Software 4 04-21-2006 04:04 AM
transfer from cpanel to directadmin tfk General Technical Discussion & Troubleshooting 2 12-16-2005 03:21 PM
Need cpanel to Directadmin Transfer erivy Employment Opportunities 3 05-30-2005 09:15 PM
Cpanel Conversion? bluewave DirectAdmin General Discussion 3 03-25-2005 02:06 AM


All times are GMT -7. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
DirectAdmin © 2007 JBMC Software