No Need to Pack Up When Migrating WordPress: The Official Free Tool “Reprint” Takes Care of the Entire Process

In November 2026, WordPress officially released Reprint, a free migration tool: it does not bundle large archives, allows resuming interrupted uploads, and automatically rewrites old domains in serialized data. This article outlines the authorization steps, two pull commands for SQLite and MySQL, parameters for switching hosts, and six limitations, as specified in the official documentation.

Anyone who’s switched hosting providers knows exactly where the pain points lie: install a migration plugin, compress the entire site into one big package, download it, upload it, and then import it. It’s not a big deal when the site is small, but once it exceeds a few gigabytes, the host first reports that disk space is full, then the packaging process times out and gets cut off, and by the time you’re 80% done uploading, the connection drops—and all that work from the first half goes to waste.

In November 2026, the WordPress team created a tool specifically for this scenario:Reprint, It’s free and open-source, developed by WordPress.org, and can be installed directly from the plugin directory. Its approach differs from that of third-party plugins—We don't handle large batches; files and databases are transferred directly, piece by piece, to the machine you specify. If the transfer is interrupted, simply run it again from the exact point where it stopped.。

This article walks through the process step by step based on the official documentation, explains each command line by line, and clearly outlines “what it doesn’t do” at the end. Let’s get the bad news out of the way first:This plugin is still at version 0.11.x, with only a little over 40 active installations—there’s no reason to deploy it directly on the live site., Start by testing it on a test station or in a local environment.

I. Three Areas Where the Old Method Gets Stuck

In a nutshell: packaging, breakpoints, and import limits are the three areas where the old-style migration process tends to get stuck.

First is space. The traditional approach involves compressing the files into a single archive, which effectively creates an instant duplicate of the same size on the origin server. For sites with tens of gigabytes of data, this process often fails when it reaches half the way through due to hosting disk quotas; some hosting providers may even terminate the process due to time-out limits.

Second is connection loss. If the connection drops during the upload phase, most plugins have to start over from the beginning, rendering everything uploaded so far useless. Third is the import limit. A common practice with free plugins is to cap the size of import packages; once your site gets too large, you have to purchase a license—though the exact point at which the limit is reached varies (plugin-imposed limits, hosting upload limits, or PHP timeouts), the result is the same.

The Reprint solution corresponds one-to-one with these three points: it does not generate large archives, so the source server does not need double the storage space; progress is stored in the local `state` directory, allowing you to resume the transfer by rerunning the same command; and since there is no “import package” step, there is no hurdle regarding upload size.

II. What Is Reprint?: A Plugin and a Command-Line Client

In a nutshell: It consists of an official plugin and a command-line client—install the plugin on the source server and run the command on the target machine.

The structure is very simple, with one half at each end: installed on the source server Reprint Server Plugin (search for "Reprint" in the plugins directory; enable it network-wide for multisite installations), responsible for handling download requests; the recipient runs reprint.phar Client: Responsible for retrieving files and databases, importing data, and updating addresses.Data is transferred directly via HTTPS from the origin server to your own machine, without passing through any Reprint cloud services.... This is also clearly stated in the official FAQ.

Screenshot of the Reprint Server interface in the WordPress admin panel: Migration Token input field, "Authorize client" button, and Remote Reprint API URL
The "Reprint Server" page in the source site's admin panel: Paste the client's Migration Token and click "Authorize client" (Source: Official screenshot from the plugin on wordpress.org)

We've also verified the versions and requirements to avoid any pitfalls: The plugin currently 0.11.8, Updated November 10, 2026; Requires WordPress 4.7 or later; Tested up to 7.1.4;The origin server requires PHP 5.6.20 or later., butThe recipient's command-line client requires PHP 7.4 or later.—These are two different thresholds; don't confuse them.

Screenshot of the "Reprint" page in the WordPress plugin directory: Version 0.11.8, updated 4 days ago, 40+ active installations, compatible with WordPress 4.7 and above, tested up to 7.1.4
Current status of the plugin directory page: Version 0.11.8, 40+ active installations, tested up to WordPress 7.1.4 (Source: Screenshot from wordpress.org/plugins/reprint)

It is a product of WordPress’s official Data Liberation project. That project was divided into several phases, with the second phase specifically focused on “structured data migration”: updating links, migrating media, and supporting large sites—Reprint falls squarely within this phase. Its significance lies more in the direction it represents than in the features themselves:In the past, the platform only provided an "Export Articles as XML" option, leaving site migration to third-party providers, each with their own formats and pricing structures; now the platform has stepped in itself—and without its own cloud service.

III. Three Steps to Get Started: Install the Plugin, Generate a Key, and Authorize the Client

In a nutshell: Install the plugin, generate a key, and paste the authorization code—just three steps, and you’re ready to start fetching data from the site.

We recommend creating a working directory on the recipient's computer first and placing everything there, so you can easily roll back or delete the files later. The client is a single PHAR file; download it directly from the official SVN repository:

curl -fL https://plugins.svn.wordpress.org/reprint/downloads/reprint.phar \
  -o reprint.phar
php reprint.phar --version

The second command should print the version number. If you get an error here, first follow the official troubleshooting guide—don’t rush to proceed (common issues include PHP not having the CLI installed or the phar extension being disabled).

Next, a key pair is generated on the receiving end, and a Migration Token:

php reprint.phar keygen https://source.example \
  --state-dir=./state --out=./reprint-key.pem

Paste the printed token into the origin server's admin panel Tools → Reprint Server, click Authorize client Authorization. The private key remains on the local device. reprint-key.pem, and use the following commands --private-key-path Point to it.

Here's a little tip that not many people know about:If you run `pull` without any credentials, the client will automatically generate a key, print the token, and then exit with exit code 4.. After authorization, running the same command again will resume where it left off. This is useful for those who don't want to remember the key path first, but the downside is that the key is hidden in the `state` directory, which isn't as easy to manage as explicitly specifying it.

If the source server's backend displays the "Connection token" form (a type of credential intended for hosts without OpenSSL), do not use the private key parameter; instead, use --secret='TOKEN', You can choose only one of the two documents.

IV. Two "pull" Commands: How to Choose Between SQLite and MySQL

In a nutshell: If you have a database server, go with MySQL; if not, start with SQLite.

First, let's talk about the two directories where the files will be saved:--state-dir Store certificates, progress reports, SQL downloads, and runtime files;--fs-root Place the site's file tree here.The "state" directory must be located outside the website's accessible directory., and do not nest them within each other; one state corresponds to one fs-root, and do not run the same state with two commands simultaneously.

For local testing—just to see if the site works—using SQLite is the easiest option, since you don't need to set up a separate database service:

php reprint.phar pull https://source.example \
  --private-key-path=./reprint-key.pem \
  --state-dir=./state --fs-root=./files \
  --target-engine=sqlite --new-site-url=http://localhost:8881

If you're officially moving to a new server, or if your plugin requires MySQL, use this line (replace the database name, username, and password with your own):

php reprint.phar pull https://source.example \
  --private-key-path=./reprint-key.pem \
  --state-dir=./state --fs-root=./files \
  --target-engine=mysql --target-host=127.0.0.1 --target-port=3306 \
  --target-db=reprint_copy --target-user=reprint_user \
  --target-pass='YOUR_PASSWORD' \
  --new-site-url=http://localhost:8881

Explanation of several parameters:--new-site-url A rewrite rule from the source site's address to the new address will be automatically generated; if you don't specify one, the new site will still open under the old domain name;--target-engine It must be either MySQL or SQLite; in MySQL, --target-user 和 --target-db This is a required field.

After running the command, a development server will be started (the example is http://localhost:8881), you can view it right away in your browser. After pressing Ctrl+C to stop it, the site will still be on your disk; to view it again, use this command:

bash state/runtime/start.sh

"Resume" simply means running the same pull again exactly as it was.—As long as the source address, the `state` directory, and `fs-root` all match, it will resume from the breakpoint. This is a fundamental difference from “restarting,” and it’s exactly what large-scale sites need most.

V. Moving to a New Server: Two More Parameters, Two Fewer Pitfalls

Quick tip: When moving to a new server, add `flatten-to` and `runtime=none`, and don't delete any directories.

The target machine is one that has its own web server (Baota, LNMP, or VPS—they’re all the same), so there are two additional steps in the command compared to local testing:--flatten-to Responsible for assembling the downloaded file tree into a standard WordPress directory structure (using symbolic links),--runtime=none --start-runtime=none This means that no development server configuration will be generated, and the service will not be started, because your Nginx/Apache will take over.

php reprint.phar pull https://source.example \
  --private-key-path=/srv/reprint-key.pem \
  --state-dir=/srv/reprint-state --fs-root=/srv/reprint-files \
  --flatten-to=/srv/site \
  --target-engine=mysql --target-host=127.0.0.1 \
  --target-user=site_user --target-pass=YOUR_DATABASE_PASSWORD \
  --target-db=site_database --new-site-url=https://destination.example \
  --runtime=none --start-runtime=none

Three key takeaways to remember:/srv/reprint-files It is an authentic document;/srv/site refers to their standard structure (Neither directory can be deleted.(If you delete the latter, the link will be broken); the database has already been imported site_database. Then, following the official recommendations: prepare wp-config.php,Do not reuse the origin server's database credentials, First test the pages, images, backend login, and forms, then change the DNS.

When it comes to link rewriting, the official tool is more thorough than most migration plugins, which is worth mentioning separately. It doesn’t just modify links in the body of the post; it also covers a set of “hidden locations”:

LocationWill it change?
Link to the article会
Block Tags and Shortcode Parameters会
JSON string会
Base64-encoded content会
PHP Data SerializationYes, and recalculate the length field.
URLs in CSS会
Images, PHP, JS, and HTML file contentsDo not modify; copy byte-for-byte

The scope of the rewrite is based on the official documentation: Images and code files are copied exactly as designed, and old domain names hard-coded in themes and plugins will not be automatically replaced.

The last point is the most important:Serialized data hard-codes the length of each value at the beginning. If the URL is one character shorter, all the subsequent offsets will be misaligned, and the table will be rendered useless.. Reprint inherits the rewriting logic from the WordPress Importer and extends it to the entire library, recalculating the lengths of fields—which is why it’s safer than “exporting SQL + manual replacement.”

VI. Three Things You Must Turn Off Before Going Live

One-sentence conclusion: Email, scheduled tasks, and payments—as soon as the replica goes live, it will interact with the actual production services.

A replica is a complete copy of the origin server,I migrated everything—including the email settings, scheduled tasks, and payment keys—from the database.. If you click “Send Test Email” on the test site, the customer will actually receive it; when a scheduled task runs, it may send notifications to real users; and the payment plugin even deducts funds directly. The official documentation specifically mentions this in both the FAQ and the migration guide, and clearly states:Don't worry about these "Reprints"; you'll have to turn them off yourself.。

In practice, follow these steps: Set up email to be intercepted or routed through a test SMTP server (many SMTP plugins have a "Block all emails" toggle); then DISABLE_WP_CRON Set this to true, or simply disable the system cron during testing; switch payment, logistics, and SMS interfaces to sandbox mode or disable them altogether.The testing site also recommends adding a "noindex" tag or password-protecting the backend.Otherwise, having the same content appear under two different domain names won’t look good to search engines.

Only after confirming that everything is in order should you perform the final switch:Pause writes to the origin server (new orders, new uploads, new articles), then run a pull again to retrieve the latest version., then update the domain name records. Keep the original site up for now as a fallback option—the official service doesn't handle this step either.

VII. What It Doesn’t Do: Six Limitations You Need to Know First

In a nutshell: It only performs one-way replication; it does not merge data, freeze the source server, or switch your DNS settings for you.

There is an official page titled “What Reprint Does Not Do,” and I’ve reorganized the six points that most influence decision-making as follows:

Do not merge.Running `pull` again will completely overwrite the target database with the source database, and the tables will be deleted and recreated; any changes you made on the replica will not be preserved. By default, files are in catch-up mode (local changes are retained until the file with the same name on the source changes), while mirror mode will also delete local files that do not exist on the source.

Do not freeze the origin server.The site remains operational during the replication process, so neither the files nor the database are consistent snapshots. This is why you need to stop writing data and perform another pull before the switchover.

Do not bypass host restrictions.PHP timeouts, memory limits, firewalls, and security plugins are still keeping an eye on you;If it fails Cloudflare's browser challenge, it will stop immediately.(This error message has been specifically added to the changelog.) The origin server has strict security measures in place, so we’ve temporarily allowed access to the Reprint API address.

You won't be able to access this part without reading PHP.被 open_basedir Restricted paths will be reported and skipped.

Do not copy the cache, logs, or backup packages.These paths are always skipped,--include They also cannot be restored; some legacy tables (MyISAM tables without unique keys) that are not transactional tables must be re-imported after an interruption.

We will not upgrade the database schema, and we cannot guarantee that all plugins will work.An SQL dump preserves the table definitions from the source server, but whether the target server recognizes them is another matter (MySQL 5.5 can only serve as the source server, not the target); some plugins simply do not work with SQLite.

There's another point that's easy to overlook:This version of the plugin on WordPress.org is for download only; it does not support uploads.. To "push local changes back to production," the host must build a separate version that supports pushing. The official documentation explicitly states that you should not use the version in this directory to commit to push functionality.

VIII. Frequently Asked Questions

In a nutshell: For small websites under a few hundred MB, using a plugin for migration is actually faster and easier.

The site isn't very big—is it really necessary to use it?

For small sites under a few hundred MB that have plenty of disk space on their server, you can complete the migration in an hour by installing a migration plugin—there’s no need to use the command line. Reprint offers advantages in three scenarios:Large sites (several gigabytes or more), origin servers without SSH, and a need to frequently synchronize the test environment。

Does the origin server need to have SSH enabled?

No, it isn't necessary. It's sufficient for the origin server to have administrator privileges to install the plugin and authorize clients; the only machine that requires command-line access is the recipient's machine (PHP 7.4+). This is particularly important for shared hosting users.

Does the data pass through WordPress's official servers?

No. Files and databases are transferred directly via HTTPS from the origin server to the client you’ve authorized locally. According to the official FAQ, this is a cloud service that does not go through Reprint. However, please note:The backup contains the user table, password hashes, and configuration keys., and make sure it is placed where outsiders cannot access it.

How do I revoke authorization?

Source Site Backend Tools → Reprint Server Just delete that Migration Token. Revoking it only affects future access; replicas that have already been pulled will not disappear as a result.

Summary: When to Use It

In a nutshell: When it comes to migrating, the official team has finally provided an option that “doesn’t require packaging,” but at this stage, it’s best to test it first before deploying it in production.

To summarize the process in one sentence:Install the plugin license on the origin server; the recipient runs a pull request. If it fails, rerun it; pause writing before switching domains, then pull again.. The true value lies not in how short the command is, but in three things: the origin server doesn’t need to allocate double the space, large file transfers can resume, and link rewriting even accommodates serialized data.

But its version number says it all—0.11.8, with over 40 active installations. Don’t treat it as a “one-click migration button”: Run it through a test environment first to verify that the plugins are compatible, the images display correctly, and you can log in to the admin panel before considering a full migration.The migration tool can help you move your data, but you'll still need to click through everything yourself to make sure it works after the migration is complete.

Further Reading: Check out these articles next

· Alibaba Cloud Domain Name Registration Guide: A Step-by-Step Process Covering Account Setup, Identity Verification, Purchase, and DNS Configuration—After moving your site, you’ll need to update your DNS settings. This article explains everything from scratch.
· Enabling BBR Acceleration on BandwagonHost VPS—Once the new server is up and running, start by configuring the TCP congestion control properly.
· Don't Buy Blog Themes Blindly: Prices, Licenses, and Pitfalls of 5 Chinese WordPress Themes—The most common pitfall during a migration is when the theme license is tied to a specific domain.

Sources: WordPress Plugin Directory “Reprint” page (Version 0.11.8, 40+ active installations), Reprint Official Manual (“Clone your site,” “Command reference,” “Move to another host,” “What Reprint does not do”), and the WordPress Data Liberation project page. This article was compiled based on the official documentation, and the commands and parameters were verified one by one,I don't have a PHP command-line environment on my machine, so I haven't actually run a complete migration yet., All commands are subject to the official documentation; please test them yourself in a test environment before implementing them.

Original article by Tech.laowang. If you wish to repost this article, please credit the source: https://techlaowang.com/en/wordpress-reprint-migration-guide/

Like (0)
Tech.laowang's profile pictureTech.laowang
Previous November 1, 2026, 9:34 a.m.
Next November 17, 2026, 1:12 a.m.

Related Recommendations

Leave a Reply

Your email address will not be published. Required fields are marked *

Explore the world of technology and gain access to software solutions and expert insights on accessing the internet from abroad—your trusted technology resource platform!