外掛標籤
開發者團隊
原文外掛簡介
Reprint Server connects your WordPress site to the open-source Reprint command-line client. The client can download the site’s database and files, build a local copy, and synchronize files with the source site.
Transfers stream in chunks and can resume after interruption. You do not need to create one large backup archive on your hosting account.
The plugin provides the server API and its settings page. You need the separate command-line client to run transfers. Download reprint.phar from WordPress.org, or use the GitHub release mirror. There is no hosted Reprint account or subscription requirement.
Authentication
On hosts with OpenSSL, enroll the client’s Migration Token under Tools > Reprint Server. The client keeps the private key and signs its requests. Hosts without OpenSSL use a connection token instead.
The WordPress.org build provides downloads only and does not include file-push or database-push implementations. The GitHub build also supports push.
New keys and connection tokens authorize downloads only. In the GitHub build, file push requires a separate administrator grant. While enabled, an authorized client can upload, replace, and delete files in the site’s document root, except excluded paths. Hosting providers can manage this permission centrally.
Push requires PHP 7.2 or newer and is not supported on multisite networks.
The WordPress.org package requires PHP 7.2 or newer. The GitHub package supports downloads on PHP 5.6.20 or newer. Use a maintained PHP version when your host allows it.
Site data and privacy
The plugin sends site data to the Reprint client you authorize. Exported databases and files may contain personal data, password hashes, and configuration secrets. Treat client credentials and downloaded site copies as private. Use HTTPS for remote transfers, and remove client access when it is no longer needed.
On multisite, network administrators manage access. Enrolled keys or the network connection token can authorize downloads from sites in that network. See the multisite documentation before transferring a network or an individual site.
Source and build instructions
The maintained PHP source, license, and build tools are available in the Reprint repository. GitHub release builds downgrade a copy of the server’s PHP syntax for older hosting environments. The WordPress.org build keeps the maintained PHP 7.2 source. Both bundle the server package with Composer. No build tools are required on the installed site.
Build the GitHub package with bin/build-server-plugin.sh after installing the Composer dependencies in tools/php56-build. For the downloads-only directory package, run bin/build-server-plugin.sh reprint-wordpress-org.zip wordpress-org; that target uses the maintained PHP 7.2 source and does not need the downgrade tool. See reprint-server-wp/README.md in the repository for integration and hosting configuration.
