How-to: cPanel to DA migration

Hello Martynas,

Good work:)

Could you add also resellers' name servers for migration please?

Thanks,
Melih
 
Hello,

Ok. I have updated the ticket: 18341

I have also some requests about cpanel migration:) Sorry for this but it is very important to migrate all accounts without minumum issue. We will migrate 20000 accounts.

Tickets:
18397
18433

Thanks a lot,
Melih
 
Hello Martynas,

Good work:)

Could you add also resellers' name servers for migration please?

Thanks,
Melih

Done in 0.0.26:
Code:
* Fix DB renames in .sql files for long DB usernames (the ones renamed), some backup files had "CREATE DATABASE" and "USE [B]dbname[/B]" statements.
* Reseller NS1/NS2 get migrated.
* DB names with dots (cPanel allows them) get renamed to ones without dots.
 
user tmp dirs not imported

Hey Martynas,

Thanks for all the work you've done on this script!

I've been testing against individual accounts before doing all of them for a full server migration. One thing that I found, is that the /home/$user/tmp dir is not being imported even though it's part of the dump. This dir contains all of the web stats files for awstats and webalizer among others. I don't expect them to be imported into their respected apps, but would expect the files to imported into the new tmp dir on the DA server. Was there a reason this is being excluded?

Thanks,
-Dan
 
hi, ay luck recevin this error during restore. Unable to restore database d3host_wp.sql to d3host_wp : ERROR 1273 (HY000) at line 33 in file: '/home/d3host/backups/backup/d3host_wp.sql': Unknown collation: 'utf8mb4_unicode_520_ci'

sounds like an older version of MySQL than on the host you are migrating from.
 
Hi,

Just tried my first cpanel backup restoration in da.

After restore, it created a file cpmove-username.tar.gz.error.log which had..
Code:
/usr/local/directadmin/scripts/cpanel_to_da/cpanel_to_da.sh: line 504: /home/admin/user_backups/username/backup/mydomain/domain.cacer
t: Is a directory

Any thing to worry?
 
Not sure how you've got into that case, however, if SSL functions normally on the domain - there is nothing to worry about :)
 
Hello smtalk,

can you pls convert Password Protected Directories setting from cpanel backup

cpmove-user.tar.gz
homedir--> .htpasswds keeping the Password Protected Directories setting

cpanel writing username and password in
home/username/.htpasswds/public_html/directorie_name/passwd

and in directorie_name has following .htaccess
AuthType Basic
AuthName "XXXXX"
AuthUserFile "/home/username/.htpasswds/public_html/directorie_name/passwd"
require valid-user


directadmin writing user and password in

/home/username/domains/domainname/.htpasswd/public_html/directorie_name/htpasswd
can you pls convert Password Protected Directories setting too

Thany you
 
Hello smtalk,

can you pls convert Password Protected Directories setting from cpanel backup

cpmove-user.tar.gz
homedir--> .htpasswds keeping the Password Protected Directories setting

cpanel writing username and password in


and in directorie_name has following .htaccess



directadmin writing user and password in


can you pls convert Password Protected Directories setting too

Thany you

May you provide a cpmove file for this? I'd give it a try :)
 
You may want to check the distribution of this script across mirrors.

files3.directadmin.com doesn't appear to be getting the correct cpanel_sqlite_da_roundcube-0.2.php file. I do not know if there are other files that aren't being distributed properly.

# wget -nv -O /dev/null http://files.directadmin.com/services/custombuild/all/cpanel-conversion/cpanel_sqlite_da_roundcube-0.2.php
2019-08-19 10:35:51 URL:http://files.directadmin.com/services/custombuild/all/cpanel-conversion/cpanel_sqlite_da_roundcube-0.2.php [6408/6408] -> "/dev/null" [1]


# wget -nv -O /dev/null http://files3.directadmin.com/services/custombuild/all/cpanel-conversion/cpanel_sqlite_da_roundcube-0.2.php
2019-08-19 10:36:00 URL:http://files3.directadmin.com/services/custombuild/all/cpanel-conversion/cpanel_sqlite_da_roundcube-0.2.php [224] -> "/dev/null" [1]
 
I had a domain with one addon domain after conversion in new directadmin the folders are all different and I receive Forbidden

You don't have permission to access this resource.
 
0.0.28 released:
* If there is invalid email set in cPanel backup, converter uses [email protected]
* Password protected directories are migrated
* Improve add-on domain transfers if subdomains have the same docroot set
 
You may want to check the distribution of this script across mirrors.

files3.directadmin.com doesn't appear to be getting the correct cpanel_sqlite_da_roundcube-0.2.php file. I do not know if there are other files that aren't being distributed properly.

# wget -nv -O /dev/null http://files.directadmin.com/servic...conversion/cpanel_sqlite_da_roundcube-0.2.php
2019-08-19 10:35:51 URL:http://files.directadmin.com/servic...conversion/cpanel_sqlite_da_roundcube-0.2.php [6408/6408] -> "/dev/null" [1]


# wget -nv -O /dev/null http://files3.directadmin.com/servi...conversion/cpanel_sqlite_da_roundcube-0.2.php
2019-08-19 10:36:00 URL:http://files3.directadmin.com/servi...conversion/cpanel_sqlite_da_roundcube-0.2.php [224] -> "/dev/null" [1]
Thanks for the report. files3 has been fixed.

Note, files3 is not in the servers.txt file, so I'm unclear how you ended up there, but no matter, it's working now ;)

John
 
Note, files3 is not in the servers.txt file, so I'm unclear how you ended up there, but no matter, it's working now ;)

Ahh! Sorry, I think I had problems with slow mirrors when I was initially installing, so I just updated the options.conf file to use a different mirror - I guess I just randomly chose files3.

But if files3 isn't suppose to be used, then that certainly explains things.
 
I had a domain with one addon domain after conversion in new directadmin the folders are all different and I receive Forbidden

You don't have permission to access this resource.

Your problem has been solved in 0.0.28 (multiple subdomains owning the same docroot as add-on domain). Please give it a try.

Thank you and sorry for the troubles!
 
DNS Issue

Hi,
I followed your steps everything went ok,
However all the domains are containing the DNS Records (IP Addresses) of old server.
 
Back
Top