Migrating User from Cpanel to Directadmin
These are my notes on how I migrated a user account from Cpanel to Directadmin (Reseller/Admin)
Prerequisite
- Access to your Cpanel
- Access to your DirectAdmin panel as an Admin/Reseller
Backup your Cpanel
- In Cpanel, search for “Backup” and perform a Full Backup.
- Unfortunately there are many different skins for Cpanel so this is a very generic instruction.
- You are looking for a backup that will backup your home directory, databases and all your content.
- Perform a Full Backup to your Home Directory
- Once the backup is completed, you should see the
.tar.gz
in your File Manager - Download it in preparation to upload to your Directadmin Server
Restore on your Directadmin
- Copy the backup file onto your Directadmin server.
- You can upload it via Directadmin’s File Manager or via
scp
if you have shell access. Ensure it is a path that is in your$HOME_DIR
- Rename the backup file to
cpmove-<username>.tar.gz
- This step is important as the filename contains instructions to DA during the restoration
- We can now start the backup process
- Go to
Admin tools > Admin Backup/Transfer > Restore
from the Directadmin panel menu - Under Path, set it to the directory where you’ve uploaded the backup file and click Next
- You may be asked to select an IP to assign to this account. If your server only have a single IP, you can just proceed and click Next
- You should now see your backup file being able to be selected. Select it and click on Restore
Completion
- Let the backup process complete, you should receive a notification by Directadmin via email or your Inbox when its completed.
- You should now be able to see the username appear under your Users list.