| 开发者 | spinxdigitaldev |
|---|---|
| 更新时间 | 2026年11月4日 17:52 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
database-<timestamp>.sql), the file components you selected and a manifest.json export summary.
mu-plugins folder.wp-content/ and without wp-config.php (it holds your database password and security keys).wp-content/backup*), filename patterns (*.log) and folder or file names (node_modules)..sql file or a compressed .sql.gz file. The compression level runs from Fast to Smallest, and the default is Balanced (level 6).export, backup, find-replace and profile from the command line with wp spinx-qm. This helps when a browser can't stay open, or on hosts where the site can't send requests to itself.
⏯️ Stay in Control of Every Long Operation
Every export, backup and Find & Replace runs in a live progress popup. The popup shows the percentage, the current item, the bytes processed, the elapsed time and a checklist for each component.
spinxqm_required_cap: the capability required to use the plugin (default manage_options, or manage_network_options on multisite).spinxqm_trust_proxy: use HTTP_X_FORWARDED_FOR / HTTP_CLIENT_IP when recording the IP address in the audit log (default false).spinxqm_storage_limit: the storage soft limit, in bytes, for the dashboard storage meter (default 100 GB).spinxqm_storage_retention: how long, in seconds, export and backup files may stay on the server before the daily cleanup removes them (default 24 hours).spinxqm_batch_size, spinxqm_chunk_bytes, spinxqm_max_insert_bytes, spinxqm_gzip_level, spinxqm_process_timeout, spinxqm_process_memory_limit, spinxqm_job_ttl, spinxqm_fr_use_staging: throughput and safety tuning for limited hosts.spinxqm/v1 and spinxqm/v2 namespaces. They serve the plugin's own admin screen, and each one requires the plugin capability (manage_options, or manage_network_options on multisite; filterable) and a valid REST nonce.
Credits
Quick Migratebundles the DM Sans and JetBrains Mono fonts, both licensed under the SIL Open Font License 1.1 (see assets/fonts/).
Plugins > Add New.SPINX Quick Migrate.Install Now, then Activate.Tools > SPINX Quick Migrate.spinx-quick-migrate folder to the /wp-content/plugins/ directory.Plugins screen in WordPress.Tools > SPINX Quick Migrate.mysqli and zip PHP extensions (standard on modern hosts)manage_options capability), or a Super Admin on multisiteFind & Replace rewrites your live database, so always click Preview first. The preview changes nothing and shows the rows that would change. On production sites, also choose a pre-flight backup so you have a rollback file. The replacement itself runs on copies of your tables, and the live tables are only swapped once every copy is verified.
Yes. Quick Migratewalks serialized PHP structures and rewrites their string lengths. The stored value stays valid instead of breaking, as it would after a plain text replacement.
The database as database-<timestamp>.sql (unless you left the database out), the file components you selected and a manifest.json export summary. The archive is named migration-export-<date-time>.zip.
Every file component is unticked by default, so an export is database-only until you opt in. Tick the Database card or at least one file component.
In a spinx-quick-migrate folder inside your uploads directory (normally wp-content/uploads/spinx-quick-migrate/). The folder is created the first time you run an export or backup and is protected against direct web access. Files are downloaded only through a secure link that requires you to be logged in with permission to use the plugin, and every file name includes a random token.
Exports and backups are deleted from the server as soon as they have been downloaded. Anything left behind, such as a find & replace pre-flight backup or a file created with WP-CLI, is removed automatically after 24 hours.
The job's state is stored on the server. When you reopen SPINX Quick Migrate, the progress popup reattaches to the running export, backup or Find & Replace and continues. A paused job can be resumed within one hour.
Go to Settings and lower Max data per step (default 6 MB) or Rows per SQL batch (default 2,000). Each step then does less work, which helps on hosts with short PHP time limits. You can also run the job from WP-CLI.
Yes. With WP-CLI installed you get wp spinx-qm export, wp spinx-qm backup, wp spinx-qm find-replace and wp spinx-qm profile. For example:
wp spinx-qm export --files --tables=wp_posts,wp_optionswp spinx-qm backup --gzipwp spinx-qm find-replace --url-from=https://old.test --url-to=https://new.test --dry-runwp spinx-qm profile run "Nightly export"--files, --media, --themes[=<slugs>], --plugins[=<slugs>], --muplugins, --core, --skip-db, --exclude, --tables, --post-types) or a saved profile (--profile=<name>). For a files-only run, use --skip-db. The form --no-db is not valid.
The plugin can be activated network-wide and installs its tables on every site, including sites created later. On multisite, only Super Admins can use it, because exports, backups and find & replace can reach network-wide tables such as users. Each site keeps its own exports, backups and profiles. Migrating a subsite into a standalone install, or the reverse, is not supported.
By default, Quick Migratetrusts only REMOTE_ADDR. To use forwarded headers, add:
add_filter( 'spinxqm_trust_proxy', '__return_true' );
Only enable this if you really are behind a proxy that strips forged headers.
Require a custom capability instead of manage_options:
add_filter( 'spinxqm_required_cap', function () { return 'spinxqm_manage'; } );
Then give spinxqm_manage to every role that should use the plugin, including Administrator, with a role editor plugin or get_role( 'editor' )->add_cap( 'spinxqm_manage' );. Only grant it to people you trust: the plugin can export and rewrite the whole database.
No. Deactivating clears the plugin's scheduled tasks and never deletes user data.
Delete the plugin from the Plugins screen. Uninstalling removes its settings, its operation-history and audit-log tables, any leftover job records and temporary find & replace tables, and the spinx-quick-migrate storage folder (including any exports or backups still in it) on every site of the network.
When you open a support request, please include:
manifest.json summary..sql or .sql.gz with an adjustable compression level.export, backup, find-replace and profile.