Vynsen Site Migrator

By kzukiochi

0+ active installationsVersion 1.0.0

Move a whole WordPress site with one ZIP. No upload size limit, safe URL replace, and one-click rollback.

Description

Vynsen Site Migrator moves a WordPress site from one server to another with a single ZIP file.

Features

  • Export the database (all tables with your site prefix) plus uploads / plugins / themes / mu-plugins / languages into one ZIP.
  • Import with chunked upload (pieces are sized automatically below your server’s upload limit), so the PHP upload_max_filesize limit does not apply. You can also drop the ZIP into wp-content/ssmig-backups/ by FTP.
  • Automatic replacement of site URL, server paths and table prefix. Handles PHP-serialized data, JSON-escaped slashes and URL-encoded strings.
  • Import runs in short steps, so it survives PHP time limits on shared hosting. A lock prevents a step from running twice if a request is retried.
  • Safe order: the database is loaded into temporary tables and validated first. Only after validation passes are files written and the tables swapped in one atomic RENAME TABLE. If the dump is broken, nothing on the live site is touched.
  • One-click rollback: the previous tables are kept until you confirm.
  • Tables of another WordPress install sharing the same database (e.g. wp_2_* next to wp_*) are never exported or overwritten.
  • WP-CLI: wp ssmig export, wp ssmig import <file>, wp ssmig list, wp ssmig rollback, wp ssmig drop-old.
  • Completely free. No paid add-ons, no account, no external service: everything stays on your own servers.

Limitations

  • Multisite is not supported.
  • wp-config.php is not migrated (database credentials and salts of the destination are kept).
  • Serialized PHP objects (not arrays) are left untouched during URL replacement.

Requirements

  • The PHP zip (ZipArchive) extension.
  • A database user that can create, rename and drop tables (standard on almost every host). The plugin checks this before it changes anything.

日本語の説明

WordPressサイト全体(データベース+wp-content)を1つのZIPにエクスポート/インポートする無料の移行プラグインです。

  • インポートは分割アップロード(サーバーの上限に合わせて自動で分割)なので PHP の upload_max_filesize に関係なく大容量ZIPを取り込めます。FTPで wp-content/ssmig-backups/ に置くこともできます。
  • URL・サーバーパス・テーブル接頭辞を自動置換(PHPシリアライズ・JSONエスケープ・URLエンコード形式に対応)。
  • 処理は小刻みに実行するのでタイムアウトに強く、DBは一時テーブルに流し込んで検証してから本番と原子的に入れ替えます。入れ替え前のテーブルは確定するまで残るので、ワンクリックでロールバックできます。
  • 完全無料です。有料版・アカウント登録・外部サービスはありません。

Installation

  1. Install and activate the plugin on both the source and the destination site.
  2. Source site: Tools → Site Migration → Export now → Download.
  3. Destination site: install a fresh WordPress, activate this plugin, go to Tools → Site Migration, upload the ZIP and click “Import this ZIP”.
  4. After completion, log in with the user account of the source site.
  5. Open Settings → Permalinks and click Save once.
  6. Check the site. Then go back to Tools → Site Migration and either confirm (delete old tables) or roll back.

FAQ

Does it overwrite the destination site?

Yes. The destination database tables and the wp-content folders contained in the ZIP are replaced. Export the destination first if you may need it. The previous database tables are kept (prefix ssmold_) until you confirm, so a database rollback is possible; overwritten files are not restored by a rollback.

Where is the backup folder?

wp-content/ssmig-backups/. Direct web access is blocked by .htaccess; on nginx-only servers add a deny rule for that folder yourself. File names contain a random part.

The export times out

Use WP-CLI: wp ssmig export. Large media libraries can also be left out with wp ssmig export --exclude=uploads and copied by FTP.

What happens if the import fails halfway?

The database is first loaded into temporary tables and checked. If anything is wrong at that stage, nothing on the site has been changed. The live tables are only swapped at the very end, in a single atomic step; if that fails, the previous tables are put back automatically.

Does it work if my site uses HTTPS behind a proxy or CDN?

Yes. The stored Site Address / WordPress Address settings are used as they are, so an https:// site stays https:// even when the request reaches PHP over plain HTTP.

Is the plugin translatable?

Yes. All strings use the vynsen-site-migrator text domain.

Screenshots

Changelog

1.0.0

  • Initial release.