DocsMigrate from Plesk

Migrate from Plesk

Move sites, databases and mailboxes from Plesk for Windows to Zopanel: two routes, what moves and what does not, rehearsal, final sync, rollback.

Not yet rehearsed against a populated Plesk server. Both routes below are experimental. Route A has run on Server 2019, 2022 and 2025 with a source server that simulates the Plesk folder layout. Route B has run against a real Plesk Obsidian 18.0.82 for Windows, but an empty one (no license, so no subscriptions): connecting, certificate pinning and reading the server passed; no real files, databases or mail were copied. Rehearse on your own Plesk server before you promise customers a date.

The two routes

A. Import tool on the old server B. Through the Plesk API
Panel page Import → Import from an old server Import → From a Plesk server
On the old server Run panel-agent.exe import once as Administrator; nothing stays Nothing installed
Websites (files) Yes Yes, over FTP/FTPS, with delta sync
MySQL/MariaDB Yes (needs a read account) Yes, dumped over the network (--single-transaction)
SQL Server No Yes, if you allow one COPY_ONLY .bak per database on the Plesk server
MailEnable mailboxes Creates them and copies old mail Creates them only, with new passwords
Final sync before DNS change No: each import is a full copy Yes

Plesk does not allow reading mail through its API, so old mail always goes through route A. A common plan: route B for websites and databases (less downtime), then route A for the mail of domains that must keep old messages.

What the panel may do to Plesk

  • Read only: XML-API get calls, REST GET, CLI --info/--show through the API; the code blocks every other command. FTP is LIST/RETR only. MySQL dumps do not lock InnoDB tables.
  • The only write is the optional SQL Server .bak file in the subscription's private folder (BACKUP … WITH COPY_ONLY, which does not break Plesk's own backup chain), off by default.
  • The panel never suspends Plesk subscriptions or changes DNS on Plesk. You do that.
  • Plesk's certificates are pinned: you confirm their SHA-256 before any password is sent.
  • Credentials are sealed and deleted when the migration ends.

MySQL on Plesk for Windows usually has TLS off, so dumps travel unencrypted. Open 3306 on Plesk only to the target server's IP, or use a VPN.

Inventory first

Item On Zopanel If not
PHP 8.3, 8.4 Upgrade older applications first
ASP.NET 4.x, Classic ASP Yes ASP.NET 3.5 (CLR 2) not available
ASP.NET Core Kestrel service; in-process is experimental
MySQL databases Restored into MariaDB 11.8; MySQL 8 collations converted Check apps that need MySQL 8-only features
SQL Server SQL Server 2022 Express (10 GB per database) Larger databases: no route yet
Database, FTP, mailbox passwords New ones, shown once Update connection strings; send passwords to customers
Certificates New Let's Encrypt certificates after DNS points here Purchased certificates cannot be uploaded for websites yet
DNS zones Created when the panel manages DNS Route A does not copy zones
Scheduled tasks, COM, ODBC DSNs, Windows Authentication, custom IIS modules Not copied Recreate by hand or mark "not migrated"
Absolute paths (C:\Inetpub\vhosts\…) New folder C:\inetpub\zopanel\<id> Fix them in code and config
Service plans, resellers Not mapped automatically Create them in Zopanel first

Prepare

  1. Install Zopanel on the target server, finish the recommended set, turn on Let's Encrypt.
  2. Create the plans and customers (or resellers).
  3. Route B: on Plesk create an API key limited to the panel IP: plesk bin secret_key --create -ip-address <panel IP>. Open 8443 to the panel IP, and FTP (21 + passive range) and MySQL 3306 / MSSQL 1433 to the target server's IP. Collect each subscription's FTP password.
  4. Lower DNS TTLs to 5 minutes at least a day before.
  5. Tell customers about the window and the new passwords.

Rehearse

Migrate 1–3 representative subscriptions (WordPress, ASP.NET + SQL Server, a domain with mail) into a test account without changing DNS. Preview with your hosts file. Turn off the copy's scheduled tasks, outgoing mail and payment webhooks so nothing runs twice. Check pages, admin sign-in, uploads, row counts of large tables, mailbox and message counts. Note the copy time.

Migrate

Route B: Import → From a Plesk server → Connect a Plesk server → check and confirm the certificates → read the server → for each subscription choose Move, give its FTP password and database account, and the target server → Create and copy. The site keeps running on Plesk while the first copy runs. Each step is recorded; after a panel restart the migration carries on.

Read-only window: put the Plesk subscription in maintenance or suspend it, tick Plesk is read-only now → Final sync and switch. Only changed files are copied and databases are dumped again. Then Show new passwords once and fix the application config.

Route A (mail, or IIS servers without Plesk): Import → Start import, copy panel-agent.exe to the old server and run the printed command, for example:

.\panel-agent.exe import -server https://panel.example.com:8443 -session <import id> -token <code> `
  -mysql-bin 'C:\Program Files\MySQL\MySQL Server 8.0\bin' -mysql-defaults C:\temp\my-read.cnf

Choose what to migrate in the panel, then Move. Run it for mail inside the read-only window, right before changing MX records.

DNS and after

If the panel manages the zone it changes the A records at cutover; otherwise change A/AAAA, www, MX and mail records yourself. Keep Plesk running read-only for at least the old TTL, ideally 24–72 hours. Check HTTPS, sign-ins, database writes, mail in both directions, scheduled tasks and write permissions.

Rolling back

Before the new server takes writes, point DNS back and lift maintenance on Plesk: Plesk was not changed. After new writes, pointing back loses them unless you export and import them yourself; the panel has no reverse-copy tool. Decide within the first hours.

Other sources

Coming from cPanel or DirectAdmin on Linux? The panel can import their full account backups (files, databases, mailboxes, DNS zones, certificates, cron jobs, with .htaccess rules turned into web.config). This importer is experimental: it has run on Server 2022 with sample backups only, not with real customer backups.


← Provisioning API Backups and restore →