Linux 软件免费装
Banner图

NS Migration Push

开发者 nunosarmento
更新时间 2026年12月3日 00:09
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

migration multisite staging deployment rollback

下载

1.1.0

详情介绍:

NS Migration Push replaces one WordPress site (the destination, usually live) with another (the source, usually staging), without SSH, SFTP or phpMyAdmin. Install it on both sites, switch on access on the source, paste the source URL and access key into the destination, and follow the screens. The destination does all the work. It pulls the source's database, plugins, themes and new media over an authenticated connection and prepares everything off to the side, in temporary tables and a private folder. The live site keeps running unchanged until you click Apply. Apply swaps the tables with a single atomic RENAME TABLE and moves the prepared folders into place, which takes a few seconds. The previous tables and folders are kept, so a single click puts everything back until you choose to finish. What it does What it keeps from the destination Safety checks before anything changes Multisite On a multisite network the tool replaces the main site only. Users, the network tables and all other subsites are left exactly as they are. Plugin and theme files are shared by the whole network, so subsites run the source's versions of any folders that are replaced. On a single-site destination the users tables can be replaced too. Security

安装:

  1. Install and activate the plugin on both sites. On multisite, network-activate it or activate it on the main site.
  2. On the source, go to Tools > NS Migration Push, choose "This is the source site" and switch access on.
  3. On the destination, go to Tools > NS Migration Push and choose "This is the destination site". Paste the source URL and access key, then click "Connect and check".
  4. Review the checks and selections, then click "Prepare". The destination doesn't change during this step.
  5. Make sure you have a current backup, then click "Apply".
  6. Check the site. Click "Roll back" if anything is wrong, or "Finish" to delete the rollback data.
  7. Switch access off on the source.

屏幕截图:

  • Choosing tables, plugins, themes, media and the options to keep.
  • Ready to apply: summary of what will change.
  • Applied, with rollback still available.
  • Source site: switching access on and copying the access key.

升级注意事项:

1.1.0 Install the same version on both sites: 1.1.0 signs its requests and does not work with 1.0.0.

常见问题:

Does it need SSH, SFTP or database access?

No. Everything runs in wp-admin through normal web requests, in short steps that stay well below PHP and proxy timeouts.

Can I push live to staging instead?

Yes. Either site can be the source; the destination is always the site that gets replaced.

How long does the destination stay down during Apply?

It doesn't go down. The database swap is a single atomic rename and folders are moved with renames, so Apply usually takes a few seconds.

What if something goes wrong after Apply?

Click "Roll back". The original tables, plugin and theme folders and changed media are restored, and new media added by the migration is removed. Rollback is available until you click "Finish".

The destination says the source returned an unexpected response

Bot protection or a firewall on the source (for example Cloudways Bot Protection, Cloudflare or a security plugin) is challenging the destination's server requests. Switch it off for the source while migrating, or allow the destination server's IP address.

Is everything copied?

The database tables you select, the plugins and themes folders, and media in the uploads folder. Must-use plugins, drop-ins (such as object-cache.php or advanced-cache.php) and wp-config.php are not copied, because they are usually specific to each server.

Does it work with Cloudflare, Redis or WP Rocket?

Yes. Requests to the source are server-to-server, and the object cache and the common page-caching plugins are cleared after Apply. If Cloudflare caches HTML for the destination, purge it after Apply.

Can developers change the defaults?

Yes, with these filters:

  • nsmpush_table_default: whether a source table is ticked by default.
  • nsmpush_log_table_pattern: the pattern for log and statistics tables.
  • nsmpush_skip_plugins: plugin folders not copied by default.
  • nsmpush_keep_active_plugins: plugins kept active on the destination by default.
  • nsmpush_default_preserve_options: destination options kept by default.
  • nsmpush_default_uploads_exclude: upload paths not copied by default.
  • nsmpush_step_seconds: how long each step works before reporting progress (default 20).
  • nsmpush_allow_http: allow a plain-HTTP source URL, for local development only.
  • nsmpush_sslverify: SSL certificate verification for requests to the source.

更新日志:

1.1.0 1.0.0