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

  1. In the ScalPanel admin panel, open Accounts → Transfers and choose New transfer.
  2. Choose From a cPanel or Plesk server and set Control panel to Plesk.
  3. Enter the Server, the SSH port, the SSH user (root) and the Password or a Private key.
  4. Choose Check the server. Compare the fingerprint with the server's own, for example ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub on the Plesk server, tick This is the server's key and choose Connect and list accounts.
  5. 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.
  6. Tick the subscriptions and choose Transfer.
  7. 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 db with fixed queries of Plesk's own database: the subscription's domains, aliases, mail accounts, forwarders, databases and their users, and DNS records.
  • plesk db dump of 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 -l of the subscription's system user.
  • tar of the subscription's folder (/var/www/vhosts/<domain>, without logs) 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

PleskOn ScalPanel
SubscriptionAn account, named after the subscription's system user (letters and digits only)
Main domain, additional domains, subdomainsOne website per document root
Domain aliases (with web)Domains of the website they belong to
Files of each document rootThe website's public folder
MariaDB/MySQL databasesDatabases with ScalPanel names (<prefix>_<name>), loaded from the dumps
Database usersUsers with full access to their database, with new passwords; wp-config.php files are rewritten
DNS recordsRecords of the zone; SOA, NS and PTR are left out
Mail accountsMailboxes with their quota, mail and folders, and their passwords
Mail forwarding and mail aliasesForwarders
Cron jobs of the system userCron jobs, with /var/www/vhosts/<domain>/ paths and Plesk's PHP rewritten
CertificatesNot 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/mailnames or websites outside the folder in HTTPD_VHOSTS_D (/etc/psa/psa.conf).

Customers can also bring mail from any IMAP server with Email → Import mail.