Deploy to an empty server
The free Migrator (since 1.12.0) ships a standalone installer. It rebuilds a site from a .migrator backup on a server that has no WordPress yet, or over a site that is already there. It needs neither WordPress nor the plugin on the new server, only PHP 8.1 with mysqli.
- On the new server, create an empty database and note its name, user and password. If a WordPress site is already there, the installer can reuse its
wp-config.phpinstead. - On the old site, open Migrator > Deploy. Copy the access key, then click Download installer.php. The key is not stored anywhere else, so a new download comes with a new key.
- Download a backup from the Migrator screen, or have a link to one ready.
- Upload
installer.php, and the backup if you downloaded it, into the folder where the site should live (for most hosts that ispublic_html). - Open
installer.phpin your browser, enter the access key and fill in the form.
What the form offers
Section titled “What the form offers”- Backup: a
.migratoror.migrator.gzfile in the same folder, or a link. With a link the new server downloads the backup itself, so a large archive never passes through your computer. A presigned Amazon S3, Cloudflare R2 or Dropbox link works. - Database: keep the existing
wp-config.phpand its database settings when it is readable, or enter host, name, user and password. Awp-config.phpit cannot read is replaced, and the old file is kept aswp-config-before-migrator-*.php. - Table prefix: leave it as it is, or give the tables a new prefix.
- New site address: the URL the old addresses and paths are rewritten to.
- Download WordPress core: on by default when the folder has no WordPress yet.
- Safe mode: restore with every plugin switched off. The list is kept so they can be switched back on from wp-admin.
- Administrator: a new password for an existing login, or a new administrator when the login does not exist yet.
How it runs
Section titled “How it runs”The work is split into short steps of about 20 seconds that save their place in a state file. A timeout, a closed tab or a reload resumes where it stopped instead of starting over. Only one browser runs the install at a time; another browser can take over after a minute without activity.
When it finishes, the installer deletes itself, its state files and the backup. If the server does not let it delete a file, it leaves a small must-use plugin that removes the leftovers on the next WordPress request and then itself.
Limits
Section titled “Limits”- The installer cannot restore an encrypted (
.enc) archive made with Migrator Pro. Decrypt one first on a site with Migrator Pro (wp migrator-pro decrypt site.migrator.enc site.migrator --password=<password>), then use the decrypted.migratorfile. - To restore onto a site that already runs Migrator, use Restore in wp-admin or
wp migrator importinstead.