百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

wp-migrate-db

> 编程语言
开源

这是一个 WordPress 插件,它可以导出您的数据库,在 URL 和文件路径中进行查找和替换,然后允许您将其保存到计算机。

350 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

这是一个 WordPress 插件,它可以导出您的数据库,在 URL 和文件路径中进行查找和替换,然后允许您将其保存到计算机。

=== WP Migrate Lite - Migration Made Easy === Contributors: wpengine, deliciousbrains, bradt, ahmedgeek, philwebs, dalewilliams, tysonreeder, kevinwhoffman Tags: migrate, push pull, clone, import site, export site, transfer, restore, backup, wordpress migration plugin, move site, database migration, site migration Requires at least: 5.2 Tested up to: 7.0 Requires PHP: 5.6 Stable tag: 2.7.11 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html

Migrate your database. Export full sites including media, themes, and plugins. Find and replace content with support for serialized data.

== Description ==

WP Migrate is a WordPress migration plugin that makes migrating your database and exporting full sites easy, fast, and stress-free.

https://deliciousbrains.wistia.com/medias/vahu041lkd

== WP Migrate Lite Features ==

Database Migrations

WP Migrate Lite can help move your WordPress database using an easy-to-follow three-step process.

  1. Find and replace content directly within the user interface.
  2. Export the SQL.
  3. Import into your new database using a tool such as phpMyAdmin.

Simple, right? WordPress database migrations shouldn’t have to be overly complicated or cumbersome. With WP Migrate Lite, database transfers become so much easier.

Full-Site Exports

WP Migrate Lite can now export your entire site, including the database, media uploads, themes, plugins, and other files required to create an exact copy of your site in a new environment. In the same friendly interface you know, you can configure your export, choose what you want to include or exclude, and then single-click your way to a downloadable ZIP file of your complete site. A perfect solution for simple migrations and site copying.

Import to Local

Thanks to our good friends at WP Engine, Local—the #1 local WordPress development tool—can now import full-site ZIP archives that have been exported using WP Migrate. Simply drag and drop the downloaded ZIP file into Local and you’re up and running with a complete copy of your site in minutes.

Find & Replace

WP Migrate can find and replace content anywhere in your WordPress database with support for serialized data. This makes it easier to migrate your database without risk of corruption.

WP Migrate handles serialized data by first unserializing it, identifying individual strings, and replacing any matches with your desired content. Once this process is complete, the data is once again serialized and placed back in the database.

Example: s:5:"hello" becomes s:11:"hello world"

You can also run a find and replace on the current database even if you have no plans to migrate it.

Database Backups

WP Migrate can automatically back up your database before running a find and replace operation or on demand as needed.

== Testimonials ==

We've made an impact since launching the first version of WP Migrate with over 300,000 active installs and hundreds of five-star reviews on WordPress.org. WP Migrate is, in our opinion, the best WordPress migration plugin. Don't just take our word for it though:

[WP Migrate] might be the most amazing thing that has happened in a really long time in the #WordPress world - Pippin Williamson - Founder, Sandhills Development.

Today, I give continued thanks to @dliciousbrains for migrate db pro and the ease at which it offers migrations from dev-to-and-from-staging - Tom Mcfarlin - Senior Backend Engineer, WebDevStudios.

How did I ever survive without [WP Migrate] before? #winning - Jenny Beaumont - Senior Project Manager, Human Made.

== Migrate More with WP Migrate Pro ==

If you’re in need of a complete, reliable, and fast push/pull site migration solution with fine-tuned control over the database, media uploads, themes, plugins, and other wp-content files, then WP Migrate Pro is for you.

The pro features in WP Migrate fit perfectly into any WordPress developer’s toolbox. Here’s what you get when you upgrade:

  • Priority email support.
  • Push and pull migrations that move the database, themes, plugins, media uploads, and other wp-content files directly between two WordPress sites.
  • Advanced multisite features like pushing a subsite to single-site install.
  • WP-CLI integration for running migrations from the command line.
  • Backup your data before starting the migration.
  • Targeted WordPress database migration. Select which tables to migrate and exclude post types from migrations.
  • And that’s just the tip of the iceberg. We’re always working on adding value to WP Migrate!

All of these features and more are yours when you upgrade to WP Migrate Pro.

https://deliciousbrains.wistia.com/medias/5co63n4jqq

== Frequently Asked Questions ==

= Do I have to manually set up my WordPress migration every time? =

No, WP Migrate uses "migration profiles" that allow you to save your WordPress migration settings to make the process as fast as possible.

= Is WP Migrate compatible with WordPress multisite? =

Yes, WP Migrate is compatible with multisites. With the Lite version, you can export, back up, and run find and replace operations across the entire multisite network. Upgrading to WP Migrate Pro opens up new possibilities for migrating single sites into or out of multisite networks. You can even migrate a subsite directly from one multisite to another.

= Can I exclude spam comments from the migration? =

You sure can! WP Migrate allows you to exclude spam comments from any WordPress migration in a click.

= Will other plugins affect my WordPress migration? =

Don't worry! By default, WP Migrate places all plugins into compatibility mode during a migration, which prevents them from loading for migration requests only.

Specific plugins can be enabled to run during a migration using a straightforward admin interface.

= Can I use the command line (WP-CLI)? =

Yes, WP Migrate Lite includes export and find-replace commands. Qualifying licenses of WP Migrate Pro include even more WP-CLI commands to push, pull, import, and manage settings from the command line.

== Screenshots ==

  1. Migrate actions
  2. Migration profile
  3. Database panel
  4. Media Uploads panel
  5. Themes panel
  6. Plugins panel
  7. Find & Replace
  8. Backups
  9. Migration complete
  10. Saved migration profiles

== Changelog ==

= WP Migrate 2.7.11 - 2026-08-05 =

  • New: Dependencies have been updated for improved security and stability
  • Fixed: Compatibility mode can now only be activated from within the migration process, thanks to tipsen via the Intigriti Bug Bounty program

= WP Migrate 2.7.10 - 2026-06-30 =

  • New: Dependencies have been updated for improved security and stability
  • Fixed: Backticks in MySQL table and column names are now properly escaped in migration SQL queries, thanks to 0nlymohammed via the Intigriti Bug Bounty program
  • Fixed: Primary key resume state is validated against the table schema before being used in migration queries, thanks to 0nlymohammed via the Intigriti Bug Bounty program
  • Fixed: Post type filters in migration row queries now use the WordPress database prepare method for correct SQL escaping, thanks to 0nlymohammed via the Intigriti Bug Bounty program

= WP Migrate 2.7.9 - 2026-06-02 =

  • Security: Fixed CSRF vulnerability in file download handler, thanks to Nguyen Ba Khanh via Patchstack
  • New: Dependencies have been updated for improved security and stability

= WP Migrate 2.7.8 - 2026-05-28 =

  • New: Dependencies have been updated for improved security and stability
  • Fixed: Various CSS fixes for WordPress 7.0 compatibility

= WP Migrate 2.7.7 - 2025-11-11 =

  • Security: Improved security of the cache flush functionality, thanks to security researcher Dmitrii Ignatyev

= WP Migrate 2.7.6 - 2025-10-15 =

  • New: Dependencies have been updated for improved security and stability
  • Fixed: The removal of temporary tables after a migration is cancelled is now more robust

= WP Migrate 2.7.5 - 2025-09-22 =

  • Fixed: "Implicitly marking parameter $wpdb as nullable is deprecated" warning introduced with PHP 8.4 is no longer logged
  • Note: On PHP 8.4, a related deprecation warning from the php-di library may still appear, this is intentional to maintain compatibility with PHP 5.6-7.4

= WP Migrate 2.7.4 - 2025-06-09 =

  • Pro only release

= WP Migrate 2.7.3 - 2025-04-24 =

  • New: Dependencies have been updated for improved security and stability
  • Fixed: Notices about loading textdomains incorrectly are prevented

= WP Migrate 2.7.2 - 2025-02-12 =

  • Fixed: Export command initiated via WP-CLI once again operates without errors related to unknown column keys, fixing a regression introduced in version 2.7.1

= WP Migrate 2.7.1 - 2025-02-11 =

  • New: Dependencies have been updated for improved security and stability
  • Fixed: Compatibility with WP Go Maps has been improved through support for the MySQL POINT data type

= WP Migrate 2.7.0 - 2024-10-04 =

  • Security: The plugin can now serve updates from WP Engine servers, however this update mechanism is not included when installed directly from WordPress.org
  • New: PHP and JS dependencies have been updated

= WP Migrate 2.6.11 - 2024-05-30 =

  • Added: A new filter wpmdb_check_table_column_for_reference now helps to avoid memory errors by excluding columns from the find and replace operation when a serialized reference is detected

= WP Migrate 2.6.10 - 2024-02-08 =

  • Security: Plugin configuration data now uses JSON encoding instead of serialization to prevent PHP Object Injection (thanks to Patchstack for responsible disclosure on January 15, 2024 followed by development and testing of the fix by WP Engine)
  • Security: Unserializing an object during find and replace operations now passes 'allowed_classes' => false to avoid instantiating the complete object and potentially running malicious code stored in the database
  • Security: The wp-queue library now ensures that only its own classes can be unserialized via allowed_classes
  • Fix: Sites with "bundle" or "runtime" in the domain name can now load plugin pages in WP Admin

= WP Migrate 2.6.9 - 2023-08-29 =

  • New: Links to plugin documentation, support, feedback, and changelog are now available in the footer of WP Admin
  • Improvement: Migration performance is now improved for sites that do not organize uploads into month- and year-based folders
  • Bug: Form data types are now consistent when using default fallbacks

= WP Migrate 2.6.8 - 2023-07-10 =

  • Improvement: PHP 8.2 and WP Migrate are now compatible

= WP Migrate 2.6.7 - 2023-06-01 =

  • Bug Fix: All-In-One Security and WP Migrate are now more compatible as a result of skipping the stacktrace column in the aiowps_audit_log table during find and replace operations

= WP Migrate 2.6.6 - 2023-05-18 =

  • Bug Fix: Exports are now compatible with PHP 8.1+

= WP Migrate 2.6.5 - 2023-04-25 =

  • Bug Fix: Migrations no longer cause PHP notices when a file path is null

= WP Migrate 2.6.4 - 2023-04-06 =

  • Improvement: Easy Updates Manager and WP Migrate are now more com

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言