Migration
Move hosting accounts to ScalPanel from cPanel, DirectAdmin, Plesk or another ScalPanel, and what each source brings over.
ScalPanel imports whole hosting accounts on the Accounts → Transfers page of the admin panel. A transfer reads an account from the source, turns it into a plan, and builds the account here with ScalPanel's own services: the same checks, limits and audit log as if you had created everything by hand.
Only the provider's administrators can run transfers. Resellers cannot.
Supported sources
- cPanel: over SSH from a WHM server (root access), or by uploading a cPanel account archive. See From cPanel.
- DirectAdmin: over SSH, where ScalPanel lists the users and has DirectAdmin back them up, or by uploading a DirectAdmin user backup. See From DirectAdmin.
- Plesk: over SSH from the Plesk server (root access). See From Plesk.
- Another ScalPanel: by signing in to the source's admin panel. See From another ScalPanel.
Customers can also bring their own mail from any IMAP server, such as a former host, Gmail or Yandex, with Email → Import mail in the hosting panel. This works for every source, including Plesk.
Migration compatibility matrix
This table shows what the transfer code brings over today. "Partial" is explained in the numbered notes below the table.
| What | cPanel | DirectAdmin | Plesk | ScalPanel |
|---|---|---|---|---|
| Email accounts | Yes | Yes | Yes | Yes |
| Email passwords | Partial (1) | Partial (1) | Yes | Yes |
| Email contents | Yes | Yes | Yes | Yes |
| Forwarders / autoresponders | Partial (2) | No | Partial (10) | Partial (3) |
| DNS records | Partial (4) | Partial (4) | Partial (4) | Partial (4) |
| SSL certificates | Partial (5) | Partial (5) | No | No |
| MySQL/MariaDB databases | Yes | Yes | Partial (11) | Yes |
| Database users and passwords | Partial (6) | Partial (6) | Partial (6) | Partial (6) |
| PostgreSQL | No | No | No | Yes |
| Cron jobs | Yes | Yes | Yes | Partial (7) |
| FTP accounts | Partial (13) | No | Partial (14) | No |
| PHP version | No | No | No | Yes |
| PHP extensions / ini settings | No | No | No | Yes |
| Files | Partial (8) | Partial (8) | Partial (8) | Partial (8) |
| Subdomains / addon domains | Yes | Yes | Partial (12) | Yes |
| Resellers | No | No | No | Partial (9) |
- Passwords stored as SHA-512, SHA-256 or bcrypt crypt hashes keep working. A mailbox with an MD5-crypt or unknown hash gets a new password, which the transfer report shows.
- Forwarders to email addresses are transferred, at most 20 destinations each. Pipes, files,
:fail:and:blackhole:targets and the catch-all address are left out and listed in the report. Autoresponders are not transferred. - Forwarders and mailing lists with their members are transferred. Autoresponders are not.
- SOA and apex NS records are left out. MX, SPF, DKIM and DMARC records are replaced by ScalPanel's own, because mail moves with the account. Names of cPanel services (
cpanel,whm,webmail,webdisk,mail,ftp,autodiscover,autoconfigand similar) are skipped. A and AAAA records that pointed to the source server are pointed at the new website, or dropped for AAAA. - Certificates that are still valid and whose private key matches are installed. Expired ones are skipped, and AutoSSL issues new certificates.
- Users and their grants (full or read-only) are created, but with new names and new passwords.
wp-config.phpfiles are rewritten to the new values. Other applications must be updated by hand from the report. - Only enabled cron jobs are transferred.
- Only each website's document root is copied. Files elsewhere in the source home folder are not. Single files over 200 MiB are left out and listed in the report.
- The account list shows each account's reseller. You can create a reseller of the same name here and put its accounts under it. The reseller's branding and limits are not transferred.
- Mail forwarding and mail aliases become forwarders. Autoresponders are not transferred.
- Databases on the Plesk server's own MariaDB/MySQL. PostgreSQL databases and databases on remote database servers are left out and listed in the report.
- Additional domains, subdomains and domain aliases with web hosting. Forwarding domains are left out.
- Extra FTP accounts whose folder is inside a transferred website, with their passwords.
[email protected]becomesuser.example.com. Accounts with a folder elsewhere are listed in the report. - Extra FTP users whose folder is inside a transferred website. Plesk's FTP passwords cannot be read, so each gets a new password, which the transfer report shows.
Not transferred from any source: autoresponders, mailbox filters, calendars and contacts.
Check before you transfer
After choosing the accounts, the owner and the package, click Check compatibility (up to 50 accounts at a time). Nothing changes on either server. For each account it reports:
- Blockers: the main domain is already on this server. Terminate that account or remove the domain there first.
- Warnings: other domains already here (they are left out), counts over the package's limits (disk space, domains, databases, mailboxes, cron jobs), PHP versions not installed here (websites get the default version), and what does not transfer: FTP accounts with a folder outside the websites, and from Plesk PostgreSQL databases, forwarding domains and autoresponders.
- Information: a user name already taken here (the owner gets the next free one), and the size of the mail.
From cPanel and Plesk over SSH the check reads each account's contents with the source's own tools (cPanel's uapi, Plesk's database), without packing it. For uploads and other ScalPanel servers it checks the main domain, the user name and the size.
What happens during a transfer
A transfer does not stop or change anything on the source. Websites keep serving, and mail keeps arriving there, until you change DNS.
- cPanel over SSH: ScalPanel runs
whmapi1 listacctsto list the accounts andpkgacctto pack each chosen one into a private temporary folder under/root. It copies the archive and removes the folder.pkgacctadds load on the source while it runs. - Plesk over SSH: ScalPanel lists the subscriptions with a fixed query of Plesk's database (
plesk db), and runs one fixed script per chosen subscription that dumps its databases and streams its files and mail. Temporary files go to a private folder under/rootand are removed. See From Plesk. - ScalPanel: the source makes a full account backup, which then appears in that account's backups on the source. The transfer uses a temporary API token that is revoked when it ends.
- Uploads: the source is not contacted.
The copy is a snapshot. Files uploaded, database rows written and mail received on the source after an account was copied do not follow until you sync it. Plan for this:
- Lower the TTL of the source's DNS records, for example to 300 seconds, a day or two before the move.
- Run the transfer. The new account's DNS zone is ready on ScalPanel, but no visitor reaches it yet. Check the websites through their temporary address before the switch.
- Freeze changes on the source where you can, such as a maintenance mode for shops and forums.
- Run a final sync: start a new transfer from the same source (or upload a new archive of the account), choose the same accounts, tick Sync accounts transferred before and confirm. See below.
- Point the domain's nameservers at ScalPanel at the registrar, or change the A records where the DNS is hosted.
- After the switch, customers can run Import mail against the old server to fetch mail that arrived there in the meantime. It skips messages it already copied.
Final sync
A sync copies an account again into the account an earlier transfer made of it: one from the same kind of source, with the same user name and main domain. Nothing new is created and the owner and package stay as they are.
- Files: the source's files replace the websites' files here.
wp-config.phpfiles are kept as they are here, since they hold this server's database names and passwords. Files deleted on the source stay here. - Databases: each database is loaded again from the source and replaces the one here, tables and all.
- Mail: only messages received on the source since the earlier copy started are added. Nothing is deleted, and a message that arrived while the first copy ran can appear twice.
- A database or mailbox that is new on the source is not created: the report lists it.
- The report says A sync into the account transferred before and has its own verification.
Changes made on this server since the first transfer are lost, so run the sync just before the switch, not after customers have started working here.
Note: Imported records keep the TTL they had on the source. If you lowered TTLs before the move, raise them again afterwards in DNS zones.
Failure and retry
There is no automatic rollback. Each account runs as a series of steps: copy, unpack, account, websites, databases, files, DNS, cron, mailboxes, mail, forwarders and certificates. Every finished step is recorded.
- If a step fails, the account shows Stopped at: with the step and the reason. Whatever was already created stays.
- Retry queues the account again. It continues from the failed step, not from the beginning.
- If the main domain already belongs to another account on this server, the account step stops with a clear message. Free the domain, then retry.
- A failed account's copied archive stays on this server until you choose Close and remove the staged files.
- Source credentials, whether an SSH password, a key or a ScalPanel token, are deleted when the transfer finishes without a failed account, when you cancel it, or 7 days after it ended with a failed account (they are kept that long so a retry can still reach the source). After that, an account that failed before its archive was copied needs a new transfer.
- To undo an imported account, terminate it with Accounts → Delete (terminate).
What to check afterwards
Open each account's report on the transfer page. It lists the counts, new credentials and a Check these list of everything left out.
The report's Verification compares what the source held with what was built here:
- the files of each document root: the files read from the source, and the files written into the website;
- the tables and views of each MariaDB and PostgreSQL database: those its dump creates, and those the database has after the import (MongoDB databases are not counted);
- the mailboxes: those on the source, and those created here.
Each line says Matches or Differs, and a difference is also listed under Check these. Files over 200 MiB, which are left out on purpose, are not counted as files read.
Then:
- Pass on the new credentials: the account's sign-in (except from ScalPanel), new database passwords and any mailbox with a new password.
- Update database settings in applications other than WordPress.
- Check the DNS zone in DNS zones and re-create anything the report left out.
- Re-create autoresponders and the catch-all address, and pass on the new FTP passwords from the report.
- Choose the PHP version and settings for cPanel and DirectAdmin websites. They start on the server's default PHP version.
- Upload any file over 200 MiB with SFTP.
- After DNS has switched, confirm that AutoSSL has issued certificates on the AutoSSL page.