Title: MigrateX
Author: haroondev
Published: <strong>Desember 3, 2026</strong>
Last modified: Desember 4, 2026

---

Soek deur uitbreidings

![](https://ps.w.org/migratex/assets/banner-772x250.png?rev=3842327)

![](https://ps.w.org/migratex/assets/icon.svg?rev=3842327)

# MigrateX

 Deur [haroondev](https://profiles.wordpress.org/haroondev/)

[Laai Af](https://downloads.wordpress.org/plugin/migratex.0.1.3.zip)

 * [Besonderhede](https://af.wordpress.org/plugins/migratex/#description)
 * [Aanbevelings](https://af.wordpress.org/plugins/migratex/#reviews)
 *  [Installation](https://af.wordpress.org/plugins/migratex/#installation)
 * [Ontwikkeling](https://af.wordpress.org/plugins/migratex/#developers)

 [Hulp](https://wordpress.org/support/plugin/migratex/)

## Beskrywing

MigrateX packs the database, media library, themes and active plugins into a single`.
wpmig` file, and restores it anywhere.

 * **No size limit.** The file is uploaded in pieces of up to 5 MB (smaller if your
   host’s `post_max_size` or `memory_limit` is low), so `upload_max_filesize` and`
   max_execution_time` do not matter.
 * **Resumable.** Work is done in small slices driven by your browser. A dropped
   connection or a killed PHP process costs at most one slice.
 * **Safe restore.** The new database is built in scratch tables and swapped in 
   with one atomic statement. Restored themes and plugins are only put in place 
   after that swap, so new code never runs against old settings. If anything fails
   before the swap, your site is untouched.
 * **Export options.** Optional Find / Replace, and exclusions for post revisions,
   spam comments, inactive themes and the media library.
 * **Backups screen.** Download, delete, or restore any backup straight from the
   server without uploading it again.
 * **Scheduled backups.** Daily, weekly or monthly at a time you choose, kept to
   a number you set (the oldest scheduled backups are deleted first, your manual
   ones are not), with optional e-mail reports. The backup is the same export the
   Export screen makes, run in the background; it waits if an export, import or 
   reset is already running.
 * **Reset Hub.** Five clean-up tools: purge plugins, reset themes, empty the media
   library, reset the database, or reset the whole site. Each one asks you to type
   RESET, each has a Create Backup button that runs a normal export, and none ever
   removes MigrateX or your backups.
 * **URL-safe search and replace.** Addresses are rewritten inside PHP serialized
   data, JSON and plain text without corrupting string lengths.

### External services

MigrateX makes an outgoing request to an outside service in two cases, both started
by a person pressing a button. It never contacts a service on its own, on activation,
or from the front end.

#### Feedback form: Web3Forms

 * **What it is:** Web3Forms (https://web3forms.com) is a form-forwarding service.
   It receives the feedback and delivers it to the plugin developer’s inbox, so 
   feedback works even where WordPress cannot send email.
 * **Endpoint:** `https://api.web3forms.com/submit` (an HTTPS POST of JSON, 10-second
   limit).
 * **What is sent:** the message you typed, the feedback type (bug report, feature
   request or general question), the email address you typed, this site’s URL, the
   WordPress version, the PHP version and the MigrateX version, plus the developer’s
   public access key that tells the service which inbox to deliver to. No other 
   site data, no user account details, no backups and no database content are sent.
 * **How:** your browser sends the request directly to Web3Forms (a `fetch()` call
   from the MigrateX screen) when you click **Send Feedback**. It does not pass 
   through your website’s server. The service is behind Cloudflare bot protection,
   which accepts requests from a visitor’s browser but turns away those made by 
   a web server. If the request fails (you are offline, a browser extension blocks
   it, or the service answers with an error) nothing is sent, and the form shows
   the same message as a pre-filled email link and a WhatsApp link instead.
 * **When:** only when you press **Send Feedback** in the sidebar of a MigrateX 
   screen, as an administrator. The disclosure is shown under the button. Nothing
   is sent in the background.
 * **Terms and privacy:** https://web3forms.com/terms and https://web3forms.com/
   privacy

#### Site-to-Site: the site you connect to

When you paste a connection key into **Site-to-Site** and start a pull, MigrateX
contacts the source site address contained in that key (your own other website),
over HTTPS (plain HTTP only on local development sites), to download the backup 
you asked for. It is not a third-party service and nothing is sent anywhere else.

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/` and activate it.
 2. Open **MigrateX** in the admin menu.
 3. **Export:** optionally set Find / Replace and Advanced options, choose EXPORT TO
    > FILE, and download the `.wpmig` file.
 4. **Import:** on the destination site, drop the file on the Import screen (or IMPORT
    FROM > FILE). Or restore a backup already on the server from the Backups screen.
    When it finishes, save your permalinks twice.

4b. **Schedules:** open Schedules, switch on the Backup Scheduler, choose how often
and at what time, and Save Changes. Set how many backups to keep under Retention
Settings and who to e-mail under Notification Settings.
 5. **Reset Hub:** to start
over, open Reset Hub, press Create Backup, then choose a tool and type RESET to 
confirm.

## Kwel-vrae

### Why did my scheduled backup not run at the exact time?

WordPress runs scheduled tasks when someone visits the site, so a quiet site may
start a backup minutes or hours late. For exact times, turn off WP-Cron’s visitor
trigger (`define( 'DISABLE_WP_CRON', true );` in wp-config.php) and have your host’s
cron call `wp-cron.php` every few minutes. The Schedules screen shows when the next
backup is due and what the last one did.

### Which backups does the retention limit delete?

Only backups made by the schedule, oldest first, never the one just made and never
one being restored. Backups you made by hand are left alone unless you tick “Also
count backups I made by hand”.

### What does each Reset Hub tool delete, and what is never touched?

 * **Plugin Purge** deletes every plugin except MigrateX, which stays active.
 * **Theme Reset** deletes every theme except WordPress’s default one and activates
   it. It refuses to start if no default theme is installed, so you are never left
   without a theme.
 * **Media Clean-Up** deletes the media library and everything else in `wp-content/
   uploads`, except MigrateX’s `migratex-backups` folder. It is disabled on multisite
   networks, where `uploads` also holds every other site’s files.
 * **Database Reset** installs a fresh WordPress database with WordPress’s own installer.
   You keep your administrator (same username, e-mail, password and login session),
   and the site keeps its address and title. The fresh database is built next to
   the old one and switched in with one atomic statement, so if anything fails the
   site is exactly as it was. On a multisite network Database Reset is disabled (
   like Plugin Purge, Theme Reset and Full Site Reset), because it would replace
   the shared network tables and affect every other site. **Every other plugin is
   deactivated** (the list of active plugins is part of the database, so only MigrateX
   stays active); the confirmation says so, and you reactivate what you want from
   the Plugins screen afterwards.
 * **Full Site Reset** does all four, with the database switch last.

The typed word is checked by the server as well as the screen. An export or import
running at the same time blocks a reset, so a backup can never be damaged half-way.

### Does it work on multisite?

Not yet. Archives from, or imports into, a multisite network are refused with a 
clear message, and every Reset Hub tool (Plugin Purge, Theme Reset, Media Clean-
Up, Database Reset and Full Site Reset) is disabled on a network, because each would
touch plugins, themes, tables or uploads shared by every site.

### Can I trust an archive from someone else?

No. Restoring an archive installs its plugins and themes, which is arbitrary code
execution by design. Only import archives you made yourself or fully trust.

### Downloading a large backup fails or the file is damaged

Backups are never linked directly. The Download button goes through an authenticated
endpoint that checks your login, the `manage_options` capability and a nonce, then
streams the file in blocks, so no public address to a backup ever exists. If a download
is cut short on a very large file, check for a proxy or CDN timeout between your
browser and the server, or copy the file from `wp-content/uploads/migratex-backups/
archives/` by SFTP.

### Can I replace text of my own when I restore (an old address, a staging path, a CDN name)?

Yes. In the confirmation window of Import, Backups > Restore and Site-to-Site there
is a collapsed panel, **Advanced Database Find & Replace (Optional)**. Add up to
20 rows of “Find string” and “Replace with”. The text is replaced in posts, post
meta, settings and block editor data, and PHP serialized data stays valid. The site
address and server paths are already updated for you.

 * Rules are plain text, never patterns, and match exactly (capital and small letters
   are different). Spaces at the ends are trimmed unless you tick **Exact**.
 * A “Find” must have at least 3 characters and cannot be empty; a mistake is shown
   beside the row, and a restore does not start until it is fixed.
 * All rules, yours and the automatic ones, are applied in one pass, longest text
   first, and a result is never searched again, so overlapping rules (such as `shop.
   example.com` and `example.com`) and rules that swap two names cannot loop or 
   damage each other.
 * Columns that name things (option and meta keys, post types and statuses, user
   logins, taxonomies) and a post’s GUID are never changed.
 * The restore log (Live Activity Log) says how many rules were applied and across
   how many tables.
 * To change text when you export instead, use the Find and Replace rows on the 
   Export screen.
 * Known limit: JSON text that itself contains a PHP-serialized string is replaced
   as text, so the length inside that serialized string is not corrected.

### The progress bar seems stuck. Is something wrong?

Under the bar MigrateX shows what it is doing right now (for example “Dumping table:
wp_posts (15,200 / 42,000 rows)” or “Archiving wp-content/uploads/2026/08/clip.mp4”),
the amount processed and when the server last reported in. If the server has been
silent for more than 45 seconds it says so instead of looking frozen: that can be
normal while one very large file or query is processed, so keep the tab open. **
Show live activity log** lists what has happened with times, and **Copy log** copies
it for a bug report. The record is kept in two small files in the job’s own protected
folder, not in the database, and the page reads it without disturbing the running
work. On a host that can run only one PHP request at a time the live view can lag
until the current step ends.

### How does Site-to-Site migration work, and is it safe?

Open **Site-to-Site** on both sites. On the source, pick a backup and press **Generate
Connection Key**; paste the key on the destination and press **Connect & Pull**.
The destination connects to the source directly and pulls the backup in pieces of
up to 10 MB (smaller if the receiving server’s memory is limited), then restores
it with the same checks as any import.

 * The key holds the source address and a random 32-byte secret, and is shown once.
   It expires after 30 minutes and works for one transfer: it is deleted when the
   transfer ends, fails or is cancelled, or when you press **Revoke**.
 * Both sites must use HTTPS (plain http is accepted only for development addresses
   such as localhost, `.test` and `.local`).
 * The secret never crosses the network. Every request is signed with it (HMAC-SHA256)
   and is valid for 5 minutes, and each piece is also checked by its own signature
   and SHA-256.
 * Locking a key to the address of the destination is off by default, because many
   connections (mobile and shared internet, carrier-grade NAT, IPv4 and IPv6) change
   address during a transfer; every request is already signed with the key. To refuse
   every address except the one that connects first, add `define( 'MIGRATEX_ENABLE_IP_PINNING',
   true );` to wp-config.php (or return true from the `migratex_remote_ip_pinning`
   filter). `define( 'MIGRATEX_DISABLE_IP_PINNING', true );` forces it off.
 * Five failed attempts from one address block it for 60 minutes.
 * Only the backup you chose can be fetched, only by index, and no file path is 
   ever sent.
 * Behind Cloudflare the source pins the destination’s real address (from `CF-Connecting-
   IP`), not the Cloudflare server that carried the request. Those headers are believed
   only when the connection comes from Cloudflare’s published address ranges, so
   a request that skips Cloudflare and forges them is refused. For another reverse
   proxy or load balancer, list its address with the `migratex_remote_trusted_proxies`
   filter (CIDR ranges; `X-Forwarded-For` is then read from the right). For a Cloudflare
   Tunnel connector on the same machine, add its address with `migratex_remote_cloudflare_peers`(
   for example `127.0.0.1`). If no reliable client address is available at all, `
   add_filter( 'migratex_remote_ip_pinning', '__return_false' )` turns pinning off;
   the signature, 30-minute life, one-time use and lockout still apply.
 * If a firewall or bot-protection rule (for example Cloudflare’s) blocks the destination,
   the pull stops with a message that says so; allow `/wp-json/migratex/v1/remote/`(
   or `/?rest_route=/migratex/v1/remote/`) for the destination’s address.
 * The source needs a working REST API (`/wp-json/`) that is reachable from the 
   destination without a login.

### Where are the exports stored?

In `wp-content/uploads/migratex-backups/`. They are never linked directly; downloads
go through an authenticated endpoint. Archives are kept until you delete them under**
Backups**.

Apache and IIS honour the `.htaccess` and `web.config` files MigrateX writes into
that folder. **Nginx does not read either**, so on Nginx add the rule from `wp-content/
uploads/migratex-backups/nginx.conf` to your server block: `location ~* /migratex-
backups/ { deny all; return 403; }`. Backup and job folder names contain 128 random
bits, so they cannot be guessed, and MigrateX shows a warning on its own screens
if it finds the folder reachable from the web. To switch that check off, return 
false from the `migratex_exposure_check_enabled` filter.

### What does the import need on the server?

Free disk space of about 2.5 times the archive size while it runs, a 64-bit PHP 
build for files over 2 GB, and a database user allowed to create, rename and drop
tables.

### The feedback form says it could not send my message.

Your browser posts your message to a feedback service over HTTPS (see **External
services** below), so it does not need your site to be able to send email. If that
request fails (you are offline, a browser extension or firewall blocks it, or the
service is down) MigrateX waits at most 10 seconds, then shows the same message 
as a pre-filled email link and a WhatsApp link, so you can still reach the developer
from your own mail program or phone. Nothing is sent by those links until you send
it yourself.

### What does the feedback form send, and where?

Only when you press **Send Feedback** in the sidebar, your browser sends one request
directly to the feedback service (api.web3forms.com): your message, the feedback
type, the email address you typed (so the developer can reply), this site’s URL,
and the WordPress, PHP and MigrateX versions. Nothing is sent in the background 
or without the button, and each administrator can send five messages an hour. The
service address can be changed with the `migratex_feedback_endpoint` filter or the`
MIGRATEX_FEEDBACK_ENDPOINT` constant (HTTPS only; the message is then posted by 
your site’s server through MigrateX’s own REST route, since only the default service
is built for browser posts), and the address used by the fallback email link with
the `migratex_feedback_recipient` filter. The WhatsApp and email links in the sidebar
open your own apps; they send nothing by themselves.

## Aanbevelings

There are no reviews for this plugin.

## Contributors & Developers

“MigrateX” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling
van hierdie uitbreiding:

Contributors

 *   [ haroondev ](https://profiles.wordpress.org/haroondev/)

[Translate “MigrateX” into your language.](https://translate.wordpress.org/projects/wp-plugins/migratex)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/migratex/), check out
the [SVN repository](https://plugins.svn.wordpress.org/migratex/), or subscribe 
to the [development log](https://plugins.trac.wordpress.org/log/migratex/) by [RSS](https://plugins.trac.wordpress.org/log/migratex/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.3

 * Changed: the feedback form no longer uses wp_mail(), so it works on sites that
   cannot send email. When you click Send Feedback, your browser sends the message
   directly to the feedback service (Web3Forms) over HTTPS, with a 10-second limit;
   it does not pass through your server. If it cannot be sent (offline, blocked,
   or the service is down), the form offers the same message as a pre-filled email
   link and a WhatsApp link. The service, what is sent and when are documented under
   External services.
 * Added: a “Copy email” button beside the Email support row in the sidebar, for
   computers whose default mail program is not set up. The row is still a mailto:
   link.

#### 0.1.2

 * Changed: the admin screens and the MigrateX menu item now use the brand Royal
   Blue (#2563eb) for buttons, links, focus rings, progress bars and active tabs,
   to match the plugin’s WordPress.org banner and icon. Green is kept for success
   only (completed steps, success messages); destructive Reset Hub actions and warnings
   keep their red and amber.

#### 0.1.1

 * Fixed: an export (or a restore) could stop with “mysqli_result object is already
   closed” on PHP 8.1 and later. The database copy that reads and writes the dump
   no longer shares the site’s last query result, so the same result is never freed
   twice, and a result that is already closed is dropped instead of freed again.

#### 0.1.0

 * First release.

## Meta

 *  Version **0.1.3**
 *  Last updated **7 ure gelede**
 *  Active installations **Minder as 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/migratex/)
 * Tags
 * [backup](https://af.wordpress.org/plugins/tags/backup/)[export](https://af.wordpress.org/plugins/tags/export/)
   [import](https://af.wordpress.org/plugins/tags/import/)[migration](https://af.wordpress.org/plugins/tags/migration/)
   [restore](https://af.wordpress.org/plugins/tags/restore/)
 *  [Gevorderde Aansig](https://af.wordpress.org/plugins/migratex/advanced/)

## Punte-toekennings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/migratex/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/migratex/reviews/)

## Contributors

 *   [ haroondev ](https://profiles.wordpress.org/haroondev/)

## Hulp

Got something to say? Need help?

 [Gaan na die hulp-forum](https://wordpress.org/support/plugin/migratex/)

## Skenk

Wil jy graag die ontwikkeling van hierdie uitbreiding ondersteun?

 [ Skenk aan hierdie uitbreiding ](https://profiles.wordpress.org/haroondev/)