import cpanel (An error occurred during the restore.)

Correct. Directadmin uses a maximum of 10 characters by default. From the past (don't know if that's stillt he case) it has to do with a maximum limit of 14 in Mysql/Mariadb.

You can change the possible length of a username in DA
In directadmin.conf set:
max_username_length=
where you enter a value between 8 and max. 14. In your case 11 would already be sufficient.

Don't forget to restart DA after the change.

It might be wise after the import the change the username to a max. 10 character length and then use the default value of 10 again in directadmin.conf but ofcourse that is your own choice.
 
Back
Top