| 开发者 | motylanogha |
|---|---|
| 更新时间 | 2026年7月15日 15:58 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-content into a single file you can download, keep as a backup, and restore, on the same site or on a brand-new install somewhere else. When you restore onto a different address, Migrator rewrites the old URLs and file paths to the new ones for you, so the site just works.
Everything happens on your own server. There is no account to create, no file size sold back to you, and nothing is ever sent to a third-party service. Because it is fully open, you can read exactly what it does: the source lives at https://github.com/wppoland/plogins-migrator, which is also where to file a bug or request a feature.
How it works
wp-content into one archive next to it.wp-content/migrator-backups) that denies direct web access, and the in-browser download is served only to logged-in administrators through an authenticated handler, the files are never exposed at a guessable URL. Each item inside an archive carries a checksum, so a truncated or corrupted backup is caught before it is ever restored over a live site.
Restoring overwrites the destination database and files, that is the point of a restore, so it asks for confirmation and is limited to administrators. Migrator never overwrites its own plugin folder during a restore, so it cannot pull the rug out from under itself mid-import.
For large sites where a browser request would time out, every job also runs from WP-CLI, which has no timeout:
wp migrator export
wp migrator import path/to/backup.migrator
What's included
wp-content into a single archiveexport and import commands for sites too large for the browserwp migrator replace command, to change a domain, URL or path safely/wp-content/plugins/migrator, or install it from Plugins → Add New.wp migrator export from the command line.Yes. A restore replaces the destination's database and files with the contents of the archive, that is what restoring a backup means. It is limited to administrators and asks for confirmation first. Always keep a separate backup of anything on the destination you want to keep.
No. When you restore onto a different address, Migrator rewrites the old site URL and file paths to the new ones, including inside serialized data, so internal links and settings keep working.
Use WP-CLI, which has no request time limit: wp migrator export to build the archive and wp migrator import <file> to restore it.
No. Migrator runs entirely on your own server. It creates no account and contacts no external service. Your backups stay in wp-content/migrator-backups until you download or delete them.
In wp-content/migrator-backups, a folder protected from direct web access. Removing the plugin deletes that folder and its contents.
Yes. This plugin is compatible with WordPress Multisite. Network activate it or activate it on individual sites; each site keeps its own settings and data.
wp migrator replace) to change a domain, URL or path without corrupting serialized data.wp-content.export and import for sites too large for the browser.