Skip to content

Pre-migration WordPress inventory on cPanel — what to capture

A pre-migration inventory checklist for a WordPress site on cPanel — the data points to capture before any migration so nothing surprises you on the other side.

Most botched WordPress migrations are botched in the planning phase, not the execution. The team doesn’t know which plugins really matter, doesn’t have the SMTP credentials written down, doesn’t know what the cron is doing. The inventory is the cheap part — half a day of running scripts and reading the output — and it’s the part that turns the migration from improvisation into a known operation.

What’s happening

A WordPress site on cPanel sits in the middle of a small web of dependencies: the WordPress install itself, the cPanel account around it (cron, email, DNS), the network around the server (Cloudflare, CDN, integrations), and the people around the site (admin emails, monitoring destinations). The migration affects most of these in some way. The inventory documents them all in one place so the receiving side can match or replace each.

How to verify

Run the inventory against the live site, save the output. The categories below cover what matters.

The fix

The inventory checklist:

  1. WordPress core and stack.

    wp core version
    php -v
    mysql --version
    wp db size --size_format=mb
    du -sh ~/public_html

    Note PHP version, MySQL/MariaDB version, database size, total file size.

  2. Plugins. Active and inactive both. Versions, source (WordPress.org, paid, custom).

    wp plugin list --field=name,version,status,update --format=csv > inventory-plugins.csv

    For paid plugins, list the license keys and their renewal dates separately.

  3. Themes. Active, plus the fallback default.

    wp theme list --field=name,version,status --format=csv > inventory-themes.csv

    Note whether the active theme is a child theme and what its parent is.

  4. Custom code. mu-plugins/, custom snippets in functions.php, any wp-content/<custom> directory. List the files:

    ls -la ~/public_html/wp-content/mu-plugins/
    find ~/public_html/wp-content -maxdepth 2 -type d
  5. Users. Particularly administrators.

    wp user list --role=administrator --fields=ID,user_login,user_email,user_registered --format=csv
  6. Site URLs. Production, any staging, and any historical staging URLs that might still be referenced in the database.

    wp option get siteurl
    wp option get home
    wp db query "SELECT DISTINCT option_value FROM wp_options WHERE option_name IN ('siteurl', 'home')"
  7. Email. The admin email, plus any SMTP relay configured at the WordPress level.

    wp option get admin_email
    wp config get SMTP_HOST 2>/dev/null
    wp option get wp_mail_smtp 2>/dev/null
  8. Cron. Both WP-Cron and cPanel system cron.

    wp cron event list --format=csv > inventory-wpcron.csv
    crontab -l > inventory-cpanel-cron.txt
  9. DNS. All zone records from cPanel > Zone Editor or dig:

    dig +short example.com ANY @8.8.8.8
  10. Mail accounts. cPanel > Email Accounts. List each address, capture mailbox sizes:

    uapi --user=$USER Email list_pops
  11. External integrations. Stripe, PayPal, Mailchimp, Google Analytics, Search Console, any webhook destination configured in a plugin. These all live in plugin settings — you need to enumerate them by going through each plugin’s settings page.

  12. Third-party services bound to the server IP. SMTP relays that whitelist by IP, webhook senders that whitelist by IP, anything with an IP allowlist. List them — they need to be updated after the migration with the new server’s IP.

  13. Backups. Where they live, who they belong to, how to restore one. If JetBackup, document the schedule. If a third-party service (UpdraftPlus to S3, BlogVault, etc.), capture the credentials.

  14. Monitoring. Uptime checks, alerting destinations, log aggregation. Each needs the new endpoint after migration.

  15. Performance baseline. Capture before-migration TTFB and PageSpeed scores so you can confirm the new host meets them.

The inventory is a document. Hand it to the migration team before the work starts. Stack Harbor produces this kind of inventory as part of migration work.

Stack Harbor operates production WordPress at scale — see Enterprise WordPress for the managed model, or book a WordPress consult for a written read of your current shape.