Title: Hostney Migration
Author: hostney
Published: <strong>2026 年 3 月 30 日</strong>
Last modified: 2026 年 3 月 30 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/hostney-migration.svg)

# Hostney Migration

 作者：[hostney](https://profiles.wordpress.org/hostney/)

[下载](https://downloads.wordpress.org/plugin/hostney-migration.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/hostney-migration/#description)
 * [评价](https://cn.wordpress.org/plugins/hostney-migration/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/hostney-migration/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/hostney-migration/#developers)

 [支持](https://wordpress.org/support/plugin/hostney-migration/)

## 描述

Hostney Migration connects your WordPress site to the Hostney hosting platform so
the Hostney worker can pull your database and files automatically. No SSH access,
FTP credentials, or manual exports required. Your source site stays fully operational
throughout the process.

**How it works:**

 1. Generate a migration token in your [Hostney control panel](https://www.hostney.com)
 2. Install this plugin on your source WordPress site
 3. Go to Tools > Hostney Migration and paste the token
 4. Click “Start migration” in the Hostney control panel
 5. The worker pulls your database and files automatically

**What gets migrated:**

 * All database tables (exported row-by-row with primary key pagination)
 * All WordPress files (transferred in chunks with checksum verification)
 * File permissions and directory structure

**What gets excluded automatically:**

 * Cache directories
 * Log files
 * Backup plugin directories (UpdraftPlus, All-in-One WP Migration, etc.)
 * Node modules and .git directories

**Security:**

All requests from the Hostney worker are authenticated using HMAC-SHA256 signatures
with timestamp validation and replay protection. Tokens are cleared automatically
when the plugin is deactivated.

### Privacy Policy

This plugin sends the following data to Hostney servers (api.hostney.com) when you
click Connect:

 * Your site URL and REST API URL
 * WordPress version
 * PHP version
 * Number of database tables and total database size
 * Number of files and total file size
 * Active theme name and active plugin count

This data is used solely to register and plan the migration. No file contents, database
rows, passwords, or personal data are transmitted during the connection step.

During an active migration (initiated from the Hostney control panel), the Hostney
worker connects to your site’s REST API endpoints to read database tables and files.
All requests are authenticated with HMAC-SHA256 signatures. Data is transferred 
over HTTPS.

For more information, see the [Hostney Privacy Policy](https://www.hostney.com/documents/privacy-policy).

## 安装

 1. In your WordPress admin go to Plugins > Add New > Upload Plugin
 2. Upload the ZIP file and activate the plugin
 3. Go to Tools > Hostney Migration
 4. Paste your migration token from the Hostney control panel and click Connect

## 常见问题

### Do I need SSH or FTP access on my current host?

No. The plugin exposes authenticated REST API endpoints that the Hostney worker 
calls over HTTPS. No server-level access is needed on the source site.

### Will my site go down during migration?

No. The plugin only reads data — it does not modify anything on your source site.
Your site continues to operate normally throughout the migration.

### What data is sent to Hostney when I connect?

When you click Connect, the plugin sends your site URL, WordPress version, PHP version,
and database/file size estimates to Hostney servers to register the migration. No
file contents or database data are sent during this step. The actual data transfer
only happens when you start the migration from the Hostney control panel, and it
flows through authenticated REST API endpoints.

### Does this plugin work with multisite?

No. WordPress multisite installations are not supported. The plugin will show a 
warning if multisite is detected.

### What happens to the token when I deactivate the plugin?

The migration token and connection status are automatically deleted from the database
when the plugin is deactivated.

### Can I use this plugin with a WAF (ModSecurity, Wordfence, Imunify, Cloudflare)?

Yes. The plugin supports optional base64 encoding of request and response bodies
to prevent WAF false positives on SQL or PHP content in migration data. This is 
handled automatically by the Hostney worker.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Hostney Migration」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Hostney Migration」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hostney-migration)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hostney-migration/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/hostney-migration/)，或通过[RSS](https://plugins.trac.wordpress.org/log/hostney-migration/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hostney-migration/)。

## 更新日志

#### 1.0.0

 * Initial release
 * Database export with primary key pagination and adaptive batch sizing
 * Filesystem export with chunked transfers and MD5 checksum verification
 * HMAC-SHA256 authentication with timestamp validation
 * WAF-compatible base64 encoding for request and response bodies
 * Path traversal protection with realpath validation
 * Admin UI with system requirement checks

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/hostney-migration/)
 * 标签
 * [Hosting](https://cn.wordpress.org/plugins/tags/hosting/)[import](https://cn.wordpress.org/plugins/tags/import/)
   [migration](https://cn.wordpress.org/plugins/tags/migration/)[move](https://cn.wordpress.org/plugins/tags/move/)
   [transfer](https://cn.wordpress.org/plugins/tags/transfer/)
 *  [高级视图](https://cn.wordpress.org/plugins/hostney-migration/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/hostney-migration/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/hostney-migration/)