From Plesk
Transfer Plesk subscriptions to ScalPanel over SSH, with websites, databases, DNS, cron jobs and mailboxes that keep their passwords.
ScalPanel transfers Plesk subscriptions over SSH (since 0.1.38). It signs in to the Plesk server as root, lists the subscriptions with hosting, and collects each chosen one: its websites, databases, DNS zone, cron jobs, and mailboxes with their mail. Each subscription becomes one ScalPanel account.
Plesk has no account archive like cPanel's pkgacct, so there is no upload for Plesk: the transfer always connects to the server.
Before you start
- You are a provider administrator on ScalPanel. Resellers cannot run transfers.
- You have root SSH access to the Plesk server, with a password or a private key without a passphrase. Plesk's database and its mail passwords are readable only by root.
- Create the reseller and the package the accounts will go to, unless they go straight under the provider.
- Make sure no account on this ScalPanel already uses a subscription's main domain.
- Lower the DNS TTL on Plesk a day or two ahead. See Migration.
Step by step
- In the ScalPanel admin panel, open Accounts → Transfers and choose New transfer.
- Choose From a cPanel or Plesk server and set Control panel to Plesk.
- Enter the Server, the SSH port, the SSH user (
root) and the Password or a Private key. - Choose Check the server. Compare the fingerprint with the server's own, for example
ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pubon the Plesk server, tick This is the server's key and choose Connect and list accounts. - Under Choose the accounts, pick the Owner (the provider's direct customers or a reseller) and a Package. The list shows each subscription's main domain, its system user and its size.
- Tick the subscriptions and choose Transfer.
- Follow the progress on the transfer page and read each account's report when it finishes. It lists new database passwords and everything left out.
What runs on the Plesk server
ScalPanel runs one fixed script per subscription, as root. It does not change anything on Plesk:
plesk dbwith fixed queries of Plesk's own database: the subscription's domains, aliases, mail accounts, forwarders, databases and their users, and DNS records.plesk db dumpof each of the subscription's MariaDB/MySQL databases on the local database server.mail_auth_view, filtered to the subscription's own mail domains, for the mailbox passwords.crontab -lof the subscription's system user.tarof the subscription's folder (/var/www/vhosts/<domain>, withoutlogs) and its mail folders (/var/qmail/mailnames/<domain>), streamed over SSH.
The dumps and the query results are written to a private temporary folder under /root, which is removed when the script ends. Collecting a large subscription adds load on the server, like a Plesk backup.
What is converted
| Plesk | On ScalPanel |
|---|---|
| Subscription | An account, named after the subscription's system user (letters and digits only) |
| Main domain, additional domains, subdomains | One website per document root |
| Domain aliases (with web) | Domains of the website they belong to |
| Files of each document root | The website's public folder |
| MariaDB/MySQL databases | Databases with ScalPanel names (<prefix>_<name>), loaded from the dumps |
| Database users | Users with full access to their database, with new passwords; wp-config.php files are rewritten |
| DNS records | Records of the zone; SOA, NS and PTR are left out |
| Mail accounts | Mailboxes with their quota, mail and folders, and their passwords |
| Mail forwarding and mail aliases | Forwarders |
| Cron jobs of the system user | Cron jobs, with /var/www/vhosts/<domain>/ paths and Plesk's PHP rewritten |
| Certificates | Not copied; AutoSSL issues new ones once the domains point here |
Plesk keeps mailbox passwords readable. ScalPanel hashes them (SHA-512 crypt) right after the collected files arrive and deletes the readable copy, so they are never stored in the clear here.
What is not available
- Forwarding domains (Plesk's "Forwarding" hosting type) and domains without hosting: they are listed in the report and left out.
- PostgreSQL databases, and databases on a remote database server.
- Database users with access to all of a subscription's databases.
- Autoresponders, mail filters, spam settings, PHP settings, scheduled tasks of Plesk's own scheduler that are not in the system user's crontab, and Plesk extensions' data.
- Customer and reseller accounts of Plesk itself: subscriptions go under the owner you choose.
- Plesk servers that keep mail outside
/var/qmail/mailnamesor websites outside the folder inHTTPD_VHOSTS_D(/etc/psa/psa.conf).
Customers can also bring mail from any IMAP server with Email → Import mail.