WP-CLI Command – Push/Pull Subcommands
wp migratedb <push|pull> <url> <secret-key> [–find=<strings>] [–replace=<strings>] [–regex-find=<strings>] [–regex-replace=<strings>] [–case-sensitive-find=<strings>] [–case-sensitive-replace=<strings>] [–include-tables=<tables>] [–exclude-database] [–exclude-post-types=<post-types>] [–skip-replace-guids] [–exclude-spam] [–preserve-active-plugins] [–include-transients] [–backup=<prefix|selected|table_one,table_two,table_etc>] [–media=<all|since-date>] [–media-date=<yyyy-mm-dd>] [–media-subsites=<blog-id|subsite-url>] [–subsite=<blog-id|subsite-url>] [–subsite-source=<blog-id|subsite-url>] [–subsite-destination=<blog-id|subsite-url>] [–theme-files=<all|theme-one,theme-two,theme-etc>] [–plugin-files=<all|plugin-one,plugin-two,plugin-etc>] [–exclude-theme-plugin-files=<string>] Allows you…
WP-CLI Command – Setting subcommand
The setting CLI subcommand provides an interface to get and update several WP Migrate DB Pro settings from the CLI. wp migratedb setting <action> <setting_name> <value> Options <action> Can either…
A response was expected from the remote…
A response was expected from the remote, instead we got nothing. (#146 – scope: transfer_chunk) Several things could be causing this, so let’s try to figure it out (in order):…
WP_HTTP_BLOCK_EXTERNAL
Setting the WP_HTTP_BLOCK_EXTERNAL constant to true in your wp-config.php file will stop all outgoing network requests from your site. This is typically set on sites that are sitting behind a…
Mixed Case Table Names
Mixed case tables names (e.g. wp_Custom_Table) are potentially problematic in certain environments where the MySQL setting lower_case_table_name is set to 1. See MySQL’s lower_case_table_name documentation for a full explanation of…
Changing The Current Site’s URLs
As of WP Migrate DB Pro 1.7, in-place find and replace functionality is included as part of the plugin. This can be used to update a site’s URL rather than…
Extracting a Subsite From Multisite to Create a New Single Site Install
NOTE: The following is a very manual process, we have since released Multisite Tools 1.1 with both Export Subsite as Single Site Install and Push Subsite to Single Site Install…
Push or Pull?
Attempting a migration from a remote server to a local server will never be possible. Instead, initiate a pull from your local environment (sucking the data down from your remote…
How It Works Exactly
Overview Before WP Migrate DB Pro was around, the standard way to migrate your WordPress database from one site to another was to open up phpMyAdmin and make a MySQL…
Find & Replace Fields
The Find & Replace fields are available during any push or pull migration, or when running the Find & Replace tool. During a migration, you are presented with two standard…