You’re moving a 60-subscription Plesk fleet from an aging dedicated server onto a newer dedicated box, same Plesk version, same OS family. The Migrator Extension exists specifically for this case — it understands Plesk-to-Plesk data structures, copies subscriptions intact, and preserves DNS, mail, databases, and SSL because both sides speak the same dialect. So you fire it up, and you discover that “preserves SSL” means “preserves the cert file” but not necessarily the auto-renewal hook; that “copies subscriptions intact” doesn’t include the WP Toolkit instance metadata, so 60 WordPress installs need to be re-detected after the move; and that the post-migration domain-resolution check times out on three domains whose authoritative DNS still points at the old box. This runbook documents the workflow that handles those gaps.
What’s happening
Plesk’s Migrator Extension is the right tool for like-to-like moves. It opens an SSH connection to the source Plesk, queries the psa database to enumerate subscriptions, pulls a tar of each subscription’s vhost directory, dumps every database, copies mail spools, and replays the same structure on the target — preserving subscription IDs, system user UIDs (where possible), and per-domain settings. Compared to the cPanel-to-Plesk direction, the data model is identical on both ends, so the migration is much cleaner.
What it doesn’t preserve cleanly: WP Toolkit instance entries (the Plesk catalog of “where the WordPress installations are”), custom Plesk extensions and their per-customer configurations, fail2ban jail customizations, ModSecurity rule excludes that were added manually, cron jobs that reference paths the new server doesn’t have yet (Node.js binaries from non-standard locations, custom virtualenvs), and PHP-FPM pool tuning if you customized any pool’s pm.max_children. On a 60-subscription fleet, the cleanup pass is maybe 20% of the work; the bulk migration is the easy 80%.
How to verify
Source inventory:
# Plesk version on both ends — they should match exactly, or target should be newer
plesk version
# Subscription count
plesk bin subscription --list | wc -l
# Mail volume
du -sh /var/qmail/mailnames/
# Database list
plesk db -Ne "SELECT COUNT(*) FROM data_bases"
# WP Toolkit instances (Migrator does not copy these)
plesk ext wp-toolkit --list 2>/dev/null | wc -l
# Custom extensions installed
plesk bin ext --list
# Disk used by all vhosts
du -sh /var/www/vhosts/
# fail2ban custom jails
ls /etc/fail2ban/jail.d/
# ModSecurity custom rules
ls /etc/httpd/conf.d/modsecurity.d/
# Listen on the Plesk REST API
curl -k -u "admin:$(cat /etc/psa/.psa.shadow)" \
https://localhost:8443/api/v2/server | jq '.version'
Target host pre-flight:
# Confirm the target Plesk is licensed for at least the subscription count + headroom
plesk bin server_pref --get | grep -i limit
# Confirm Migrator is installed on the target (it runs ON the target, not the source)
plesk bin ext --info panel-migrator || plesk bin ext --install panel-migrator
# Confirm SSH from target to source as root (Migrator uses this)
ssh -i /root/.ssh/id_rsa_migrator root@source-plesk.example.com 'plesk version'
The fix
Four phases: pre-flight inventory, Migrator dry-run, full migration with parallel-run window, cleanup pass, DNS cutover.
Phase 0 — Pre-flight inventory
The source inventory script captures the things Migrator doesn’t copy so you can replay them on the target. Run on the source as root:
#!/usr/bin/env bash
# /root/plesk-source-extras.sh — captures extras Migrator drops
set -euo pipefail
OUT="/root/plesk-source-extras-$(date +%Y%m%d).tgz"
STAGE="/root/plesk-extras-staging"
mkdir -p "$STAGE"/{wp_toolkit,extensions,fail2ban,modsec,sysctl,php_pools,certs,custom_scripts}
echo "==> WP Toolkit instance dump"
plesk ext wp-toolkit --list 2>/dev/null > "$STAGE/wp_toolkit/instances.txt" || true
plesk db -Ne "SELECT * FROM SmbApplicationInstances" > "$STAGE/wp_toolkit/app_instances.sql" || true
echo "==> Extension list + per-extension config exports where possible"
plesk bin ext --list > "$STAGE/extensions/installed.txt"
for E in $(plesk bin ext --list | awk 'NR>1{print $1}'); do
plesk ext $E --info 2>/dev/null > "$STAGE/extensions/${E}.info" || true
done
echo "==> fail2ban custom jails"
[[ -d /etc/fail2ban/jail.d ]] && cp -a /etc/fail2ban/jail.d "$STAGE/fail2ban/"
[[ -d /etc/fail2ban/filter.d ]] && cp -a /etc/fail2ban/filter.d "$STAGE/fail2ban/" || true
echo "==> ModSecurity custom rules"
[[ -d /etc/httpd/conf.d/modsecurity.d ]] && cp -a /etc/httpd/conf.d/modsecurity.d/ "$STAGE/modsec/"
echo "==> Custom sysctl + limits"
cp /etc/sysctl.d/*.conf "$STAGE/sysctl/" 2>/dev/null || true
cp /etc/security/limits.d/*.conf "$STAGE/sysctl/" 2>/dev/null || true
echo "==> PHP-FPM pool customizations"
for P in /opt/plesk/php/*/etc/php-fpm.d/; do
V=$(basename $(dirname $(dirname $P)))
mkdir -p "$STAGE/php_pools/$V"
cp -a "$P"*.conf "$STAGE/php_pools/$V/" 2>/dev/null || true
done
echo "==> SSL chain + custom certs in /etc/pki"
[[ -d /etc/pki/tls/private ]] && cp -a /etc/pki/tls/private "$STAGE/certs/"
[[ -d /etc/pki/tls/certs ]] && cp -a /etc/pki/tls/certs "$STAGE/certs/"
echo "==> Custom /usr/local/scripts"
[[ -d /usr/local/scripts ]] && cp -a /usr/local/scripts "$STAGE/custom_scripts/"
echo "==> Crontabs for all system users that own subscriptions"
mkdir -p "$STAGE/crontabs"
for U in $(plesk db -Ne "SELECT DISTINCT s.login FROM sys_users s \
JOIN domains d ON d.sys_user_id=s.id"); do
crontab -u "$U" -l 2>/dev/null > "$STAGE/crontabs/$U.cron" || true
done
crontab -l > "$STAGE/crontabs/root.cron" 2>/dev/null || true
tar -czf "$OUT" -C "$STAGE" .
rm -rf "$STAGE"
echo "==> Wrote $OUT ($(du -sh $OUT | awk '{print $1}'))"
Run + transfer:
chmod 700 /root/plesk-source-extras.sh
/root/plesk-source-extras.sh
scp /root/plesk-source-extras-*.tgz root@target-plesk:/root/
Phase 1 — Migrator dry-run
On the target Plesk as root:
# Set up SSH key from target -> source
ssh-keygen -t ed25519 -f /root/.ssh/id_rsa_migrator -N ""
ssh-copy-id -i /root/.ssh/id_rsa_migrator.pub root@source-plesk.example.com
# Register the source with Migrator
plesk bin extension --exec panel-migrator add-source \
--address=source-plesk.example.com \
--login=root \
--ssh-key=/root/.ssh/id_rsa_migrator \
--type=plesk
# Discovery (does not move anything)
plesk bin extension --exec panel-migrator list-domains \
--source=source-plesk.example.com > /root/migrator-discovery.txt
wc -l /root/migrator-discovery.txt
Cross-check against source’s actual subscription list:
ssh root@source-plesk.example.com 'plesk bin subscription --list' | sort > /root/source-subs.txt
sort /root/migrator-discovery.txt > /root/discovered-sorted.txt
diff /root/source-subs.txt /root/discovered-sorted.txt
Any difference here is a discovery problem. Common causes: subscriptions that are administratively suspended (Migrator can be configured to skip or include them), webspaces under a reseller that the root SSH user can’t see by default (rare on Plesk, but happens with multi-tenant setups).
Phase 2 — Migration in batches
Start with one. Pick the smallest-volume subscription:
plesk bin extension --exec panel-migrator migrate \
--source=source-plesk.example.com \
--subscriptions=smallsub.example.com \
--skip-domains-resolving=true
Watch the log:
tail -f /usr/local/psa/var/modules/panel-migrator/log/migration_*.log
When the first migration completes, validate it before continuing. Add a host-file override on your laptop pointing the migrated domain at the new Plesk IP, and walk the customer-facing surface: front page, login flow, mail send + receive, any application-specific health check the customer has.
# On your laptop
echo "203.0.113.99 smallsub.example.com www.smallsub.example.com mail.smallsub.example.com" \
| sudo tee -a /etc/hosts
# In a browser, hit https://smallsub.example.com/
# Confirm SSL serves (Plesk Migrator preserves the cert)
# Inspect mail TLS
openssl s_client -connect mail.smallsub.example.com:993 -starttls imap </dev/null 2>&1 \
| openssl x509 -noout -dates
If clean, batch the rest:
# Migrate 10 at a time
plesk bin extension --exec panel-migrator migrate \
--source=source-plesk.example.com \
--subscriptions=sub1.example.com,sub2.example.com,...,sub10.example.com \
--skip-domains-resolving=true
For larger fleets, generate the batch list from the discovery output:
split -l 10 /root/migrator-discovery.txt /root/batch-
for B in /root/batch-*; do
SUBS=$(paste -sd, $B)
echo "==> Batch $B"
plesk bin extension --exec panel-migrator migrate \
--source=source-plesk.example.com \
--subscriptions="$SUBS" \
--skip-domains-resolving=true 2>&1 | tee /root/migrate-$(basename $B).log
done
Use --skip-domains-resolving=true until you actually flip DNS. Without it, Migrator’s post-migration validation will fail because the domains still point at the source.
Phase 3 — Cleanup pass
Unpack the extras tarball on the target:
mkdir -p /root/plesk-source-extras-unpacked
tar -xzf /root/plesk-source-extras-*.tgz -C /root/plesk-source-extras-unpacked
cd /root/plesk-source-extras-unpacked
WP Toolkit re-scan. Migrator copies the WordPress files but the Toolkit catalog doesn’t follow. Trigger a rescan so every WP install reappears in WP Toolkit:
plesk ext wp-toolkit --scan
# Confirm
plesk ext wp-toolkit --list | wc -l
# Compare to source count
wc -l /root/plesk-source-extras-unpacked/wp_toolkit/instances.txt
If counts diverge, manually register the missing ones:
plesk ext wp-toolkit --register \
-domain example.com \
-path /var/www/vhosts/example.com/httpdocs/wordpress \
-admin-user wpadmin \
-admin-password "$(openssl rand -base64 12)" \
-admin-email admin@stackharbor-managed.example.com
fail2ban + ModSecurity custom rules. Migrator does not copy these — they live outside Plesk’s data model:
cp -a /root/plesk-source-extras-unpacked/fail2ban/jail.d/* /etc/fail2ban/jail.d/
cp -a /root/plesk-source-extras-unpacked/modsec/modsecurity.d/* /etc/httpd/conf.d/modsecurity.d/
systemctl reload fail2ban
plesk bin http_server --reconfigure-all
Extension reinstall. Look at the extension list and reinstall what’s missing:
diff <(plesk bin ext --list | awk '{print $1}' | sort) \
<(awk '{print $1}' /root/plesk-source-extras-unpacked/extensions/installed.txt | sort)
# Reinstall missing ones
plesk bin ext --install <extension-name>
PHP-FPM pool tuning. Walk through /root/plesk-source-extras-unpacked/php_pools/ for any non-default pm.max_children, pm.max_requests, or pm.process_idle_timeout settings. These don’t come across because Migrator regenerates pool files from Plesk’s templates on the target:
diff /root/plesk-source-extras-unpacked/php_pools/8.2/example.com.conf \
/opt/plesk/php/8.2/etc/php-fpm.d/example.com.conf
# Manually port over the customizations
plesk bin php_handler --reread
systemctl reload plesk-php82-fpm
Root crontabs. Migrator does not copy root’s crontab. Replay:
crontab /root/plesk-source-extras-unpacked/crontabs/root.cron
Verify nothing in it references paths that don’t exist on the target (custom binary locations, decommissioned servers).
Phase 4 — Domain resolution test + DNS cutover
After the cleanup pass, Migrator can re-run its resolution validation (without --skip-domains-resolving) to confirm what’s still pointing at the old server:
plesk bin extension --exec panel-migrator post-migration-check \
--source=source-plesk.example.com
Lower DNS TTLs 48 hours before cutover. On cutover day, switch each domain’s A/AAAA record. Same Cloudflare-style script as in the cPanel-to-Plesk runbook applies here.
Once DNS resolves to the new Plesk, run Let’s Encrypt renewal across the board to make sure auto-renewal works from the new IP:
plesk bin extension --exec letsencrypt cli.php --renew-all
plesk bin server_pref --update -lets-encrypt-renew-all true
Phase 5 — Source decommissioning
After 7 days of clean traffic on the new Plesk and the source mail logs are quiet:
# On the old server
plesk bin server_pref --set-maintenance-mode true
systemctl stop psa
# Don't uninstall yet. Wait another 30 days.
Take a final snapshot of the source. After 30 days uneventful, the source can be torn down.
Rollback
Pre-cutover: trivial. Post-cutover within first hour: flip DNS back to source. After first hour: any new content on the new Plesk (mail, DB writes, file uploads) is only there, not on source. Set a one-hour go/no-go.
Stack Harbor runs Plesk-to-Plesk fleet moves under our migration solutions practice — including the cleanup pass that Migrator itself doesn’t cover. Pair it with environment management on the target side once you’re live so patching, monitoring, and Sev-1 escalation are continuous from cutover day. Start a scoping conversation to size the move.