
外掛標籤
開發者團隊
原文外掛簡介
A backup that says “complete” isn’t proof it will restore. Files get cut short when a backup runs out of time, archives get damaged, and a plugin your site depends on can be left out. You usually find out on the worst possible day: when you restore and get a white screen.
Rehearsa finds out now, without touching your live site.
1. File and database checks (on your server)
Every backup file is present and matches the fingerprint UpdraftPlus recorded when it made the backup.
Every file inside every zip archive is read and its checksum verified, so damaged files are caught.
The database file is read to the end: it must be complete, every table must be fully written, and each table must have the number of rows UpdraftPlus counted.
The core WordPress tables are present.
Every active plugin and your active theme are actually inside the backup.
Plugins that need a newer PHP version than your server has are flagged, a common cause of white screens after a restore.
A short “what changed since this backup” summary compares the backup with your live site.
The checks run in small steps, so they work on hosts with short time limits.
2. Test-boot (in your browser)
When the files pass, one click starts a private, temporary copy of the backup inside your browser tab using WordPress Playground. Rehearsa then:
imports the database and unpacks plugins, themes and uploads into the test copy,
loads the homepage and signs in to the dashboard,
catches critical errors and blank pages, and shows the exact PHP error that caused them,
counts posts, pages, users and active plugins in the running copy.
You can then click around the test copy yourself. It disappears when you leave the page.
Your live site is never changed, and your backup is not uploaded anywhere. The backup files go from your site straight into your own browser.
Check a backup from your computer
Have a backup you downloaded, or one from your host? Pick the database file (.gz or .sql) and its zip files. They are checked and test-booted entirely in your browser.
Dashboard status
A small dashboard widget shows when your backups were last verified and whether they passed.
What Rehearsa does not do
It does not make backups. Keep using UpdraftPlus for that.
It never restores anything over your live site.
A pass means the backup is complete and starts up. The test copy uses SQLite and has no internet access, so plugins that rely on outside services or special server features may behave differently there. Click around the test copy to check what matters most to you.
Multisite networks and encrypted UpdraftPlus databases can’t be test-booted yet.
Rehearsa is an independent plugin and is not affiliated with or endorsed by UpdraftPlus.
External services
The test-boot uses WordPress Playground, a WordPress.org project that runs WordPress inside your browser.
What is loaded and when: only when you click “Test-boot” or “Check and test-boot these files”, your browser loads the Playground runtime from https://playground.wordpress.net/ and the WordPress version needed for the test copy. Nothing is loaded from it on any other page.
What data is sent: none of your backup data. Your backup files are loaded into the Playground running in your own browser tab and are never sent to playground.wordpress.net or any other server. As with any web request, your browser shares standard request information such as your IP address with the server it loads the runtime from.
Service terms and privacy: WordPress Playground is provided by WordPress.org. See the WordPress.org privacy policy: https://wordpress.org/about/privacy/
The file and database checks run entirely on your own server and make no outside requests.
Source code
This plugin includes the WordPress Playground client library (@wp-playground/client 3.1.64, GPL-2.0-or-later) in assets/vendor/playground-client. Its full, human-readable source code is at https://github.com/WordPress/wordpress-playground and the published package is at https://www.npmjs.com/package/@wp-playground/client
