Museder RestoreOne
A lightweight WordPress backup & restore plugin focused on compatibility, single-file site snapshots, and clean restore workflows.
Install in
Museder RestoreOne lets you create complete WordPress backups (database + wp-content) as a single archive, and restore them in a guided 3-step wizard.
It is designed for shared hosting environments and uses WordPress APIs for database backup/restore, with archive compression handled by ZipArchive or WordPress’ bundled PclZip.
Key features
-
One-click full-site backup
Export the database,meta.json, andwp-content/into a single archive you can download or restore later. -
Restore Center wizard
A clear 3-step flow: upload & analyze review summary & options start restore with real-time progress and logs. -
Chunked uploads with validation
Bypassupload_max_filesize/post_max_sizelimits by uploading your archive in small chunks, with retries and integrity checks. -
Shared-hosting friendly
Uses pure PHP + WordPress APIs for database backup/restore, and falls back fromZipArchiveto PclZip compression when needed. -
Schedules and logs
Create one or more automatic backup schedules (or run backups manually), then inspect, download, or clean up structured backup and restore logs. -
Neo-glass admin UI
Modern Dashboard, Backups, Restore, Schedules, Logs and Settings screens with clear calls-to-action, status messages, and responsive layout.
Multisite
This release is not formally tested on WordPress Multisite. For predictable results, use RestoreOne on standard single-site installs (one site per admin context). If you run a network, treat use as experimental until you have verified backups and restores on a staging clone.
External services
This plugin does not use external services.
The only programmatic outbound HTTP the base plugin performs by default is an optional, short non-blocking request to your own site’s wp-cron.php (same host / local loopback) to encourage scheduled tasks to run. No third-party API is called for backups or restores.
All admin JavaScript and CSS for RestoreOne are loaded from files shipped under this plugin’s assets/ directory (including vendored libraries under assets/vendor/). Optional add-ons, if you install them separately, may introduce their own network behavior; see each add-on’s readme. See the FAQ for more on the local wp-cron.php nudge.
Privacy
What this plugin stores on your server
- Backups — Complete-site archives are written under your WordPress uploads area (typically
wp-content/uploads/museder-restoreone/backups/or the path shown on the Backups screen). Each archive contains a database export (database.ndjson),meta.json, and a copy ofwp-content/from your site at backup time. - Logs — Text logs for backup, restore, and related operations are stored under
wp-content/uploads/museder-restoreone/logs/(see the Logs admin screen). - Restore reports — When you generate a restore report, files are stored under
wp-content/uploads/museder-restoreone/reports/(or the path configured for reports on your install). - Schedules and settings — Options and scheduled events are stored in your WordPress database like other plugins.
Diagnostics
- Version / build heartbeat — After an upgrade, the plugin may write a one-line informational entry to the local Logs directory (same server, no remote host) noting the active plugin version and build id. This is for support troubleshooting only.
Exact folder names may vary with your uploads path or custom content directory; nothing is sent to a fixed external hostname by this plugin. The plugin resolves these locations using WordPress APIs (for example wp_upload_dir() and path helpers derived from your install) rather than hard-coded internal constants, so custom wp-content or uploads layouts can be reflected correctly where your host allows.
Third parties
The free plugin does not upload your backup contents, database, or logs to third-party APIs or clouds. That statement matches External services above and the FAQ entries on external data and local wp-cron loopback.
Optional add-ons (separate plugins or extensions, if you install and activate them) could send specific categories of data to remote storage or services only when you enable and configure those extensions; the base RestoreOne plugin does not do that on its own.
Retention and deletion
You can delete backup archives from the Backups screen, remove or download logs from Logs, and adjust retention-related options where provided.
Uninstall (uninstall.php) removes plugin-owned options, transients (including timeout rows), dynamic job-lock option rows, and scheduled cron hooks whose names start with museder_restoreone_. It does not delete backup ZIP archives, log files, restore reports, or other files under your uploads/storage tree; delete those manually from the Backups / Logs UI or your host if you no longer need them.
On Multisite, uninstall walks sites in batches (100 IDs per query) instead of loading the entire network at once. Very large networks should still use a maintenance window so uninstall is not interrupted by web-server timeouts.
Developer
Development source of truth is the public GitHub repository: https://github.com/artherslin-source/museder-restoreone
Contributors and release maintainers should follow the Modification & Release SOP (docs/SOP-PLUGIN-DEVELOPMENT-AND-RELEASE.md in the repo). Summary:
- Branching: work on
fix/,feature/, oragent/branches from currentmain; avoid long-lived dirtymain. - WordPress.org Lite: fully functional, GPL, no license gates, trialware, or bundled Add-on/PRO code in the Lite package or SVN.
- Security: every sensitive AJAX/REST/form handler needs capability checks, nonces, sanitize/validate input, and escaped output.
- Release version sync (six fields, same version):
museder-restoreone.phpVersion,MUSEDER_RESTOREONE_VERSION,MUSEDER_RESTOREONE_BUILD_ID,readme.txtStable tag, newChangelogblock, and newUpgrade Noticeblock (easy to forget — WP.org shows the notice to updaters). - Package Lite ZIP: use
create-package.shortools/package-lite-windows.ps1only; requireBOUNDARY_CHECK=PASS. Do not use PowerShellCompress-Archive. Lite ZIP must not includedocs/,tools/,.cursor/,.github/,logs/, ormuseder-restoreone-pro/. - GitHub release: after explicit approval, tag
vX.Y.Zonmain; GitHub Actions builds release artifacts. - WordPress.org SVN: commit Lite source files only (no zip); copy
trunktotags/X.Y.Z; filldocs/RELEASE-X.Y.Z-SVN-HANDOFF.mdfrom the template before SVN commit.
Checklists: docs/RELEASE_CHECKLIST.md, docs/PACKAGING.md, docs/WORDPRESS_ORG_DEVELOPMENT_GUIDE.md, AGENTS.md.
Written by Joobi from the project's own listing. See the source page
2.7.279
- Backups list:
.backup-meta.jsonno longer keeps labels, durations, and other details for archives that were deleted outside the plugin (FTP, a host file manager, or a cleanup script). Stale entries are removed when the Backups list loads and after a delete. The file is now written to a temporary file and renamed into place under a lock, so an interrupted write cannot leave it truncated. - Storage key:
wp-content/uploads/museder-restoreone-storage-key.phpnow answers a direct web request with HTTP 403 and an empty body on every server. Before, some hosts returned an empty 200 and others 403. The key is unchanged; files written by 2.7.278 are rewritten with the new first line the next time the plugin reads them. - Release gate: the security suite checks the storage key file returns 403. New CLI checks
tools/qa/verify-backup-meta-prune.phpandtools/qa/verify-storage-key-guard.php.
2.7.278
- Security (CVE-2026-41561): on web servers that ignore
.htaccess(for example Nginx), anyone could download backup archives, logs, the restore token and secret, job files, and the restore bootstrap handoff fromwp-content/uploads/museder-restoreone/. Reported by Ananda Dhakal (Patchstack). - Storage now lives in a per-site private folder,
wp-content/uploads/museder-restoreone-<random key>/. The key is 128 random bits kept in a PHP-guarded file. Existing backups, logs, and jobs are moved there automatically the first time the old folder is idle. - Logs, the restore token, the token secret, the bootstrap handoff, and bootstrap state are now
.phpfiles that start with<?php exit; ?>, so a direct web request returns an empty page. Log files are namedmuseder-restoreone-YYYY-MM-DD-<tag>.log.php; the log viewer and downloads strip the guard line. Older.logfiles are converted. - Restore tokens and bootstrap secrets are stored only as hashes. Reloading the Restore page issues a fresh token instead of reading a stored one.
- Restore bootstrap (
museder-restoreone-restore-bootstrap.phpin the site root): no longer lists backup files, no longer reads a saved secret on its own, and starts a restore only withMUSEDER_RESTOREONE_BOOTSTRAP_PASSWORD(12+ characters, set in the bootstrap file orwp-config.php) or a one-time password generated on the Restore page. Five wrong passwords lock it for 15 minutes. Each restore job gets its own random secret. - Every storage folder gets
.htaccess(Apache 2.2 and 2.4),web.config(IIS),index.php, andindex.html. The unusednginx-deny.conffiles are removed. - New admin self-check on plugin screens: warns when the server hands out plain files from the storage folder (with an Nginx rule to add), shows PHP source in uploads, could not create the private folder, or left files in the old folder.
- Release gate: new security suite on an Nginx + PHP-FPM site requests every file the plugin writes, the old fixed URLs, the bootstrap page, and the restore AJAX endpoints without logging in.
2.7.277
- Restore: prefix-migration failure messages now escape interpolated role keys and database errors. Ordinary keys such as
wp_user_roleskeep the same message text. - Plugin Check: site-root
.htaccessfallback andwp-config.phpwrites during restore stay on the live install. They are annotated because the content-directory helper name is mistaken for theWP_CONTENT_DIRconstant. Restore destinations are unchanged. - Restore: status polling declares the completion payload, and a queued job advances on the next status request when WP-Cron loopback does not tick. The progress bar follows the job stage instead of jumping to 70% while the job is only queued.
- Restore: archive metadata is read from
meta.json(site_url) and legacybackup-lite-meta.json(siteurl), so a backup from another URL is search-replaced onto the target, including serialized values. A running history row uses the same elapsed clock as Step 3. - Restore upload: a file ZipArchive cannot open is rejected, deleted, and does not unlock later steps. Choosing a non-zip file shows an error and clears a previous analysis.
- Backup: the size estimate includes wp-content files. Cancelling a job shows one notice and deletes the unfinished archive. The theme saved in Settings applies immediately. Each backup row has a visible Download button.
- Logs: new files are named
museder-restoreone-YYYY-MM-DD.log. Olderbackup-lite-*.logfiles still open in the log viewer. Uninstall still leaves both on disk. - Admin UI: on phones and tablets (below 782px), the backup, restore history, schedule, and log tables become stacked cards with a label for each value. The restore steps stack in one column, toolbars wrap, and the row action menu is large enough to tap. The desktop layout is unchanged.
- Translations: all admin screens and messages, including text built by JavaScript, now go through the
museder-restoreonetext domain. The plugin shipslanguages/museder-restoreone.potand a complete Traditional Chinese (Taiwan) translation. Language packs from WordPress.org still take precedence. Restore status, history results, durations, and the dashboard schedule period are translated too.
2.7.276
- Restore auth: backup and restore runtime HMAC secret files during the file stage so post-complete token verification survives uploads directory overwrite during restore.
- Restore: exclude
.restore-auth-*runtime auth files from backup ZIP export so imported archives cannot overwrite destination auth state. - Restore Safe Mode: register
wp_ajax_nopriv_museder_restoreone_exit_safe_modeand authorize exit via the sameverify_restore_progress_requestpath as progress polling when admin session is lost after DB import. - Restore UI: bind completion overlay Exit Safe Mode to
completedRestoreJobIdand ensure pollcompletionMetacarriesjobIdfor token grants.
2.7.275
- Restore UI: Step 3 success is now a one-way state — once REST final-status confirms completion, the UI no longer re-enters admin-ajax polling or resets progress when a stale “running” payload arrives.
- Restore UI: when admin-ajax or wp-login interim-login is blocked (403/400), Step 3 switches to a REST-only completion loop instead of retrying nonce refresh and tight admin-ajax polling.
- Restore UI: suppresses WordPress auth-check / Heartbeat interim-login modals during restore and raises the completion overlay above auth-check layers so “Restore Completed” is visible on hostile shared hosts.
- Restore UI: long-running restores now use a wider history match window and strict
payload.jobparsing so Step 3 no longer gets stuck at “100% / Waiting for action” after the backend has already completed and cleaned active jobs. - Restore UI: final-status polling now falls back from stale
/wp-jsonroutes to query-style?rest_route=URLs, detects “HTTP 200 HTML” non-JSON responses, and adds a read-only admin-ajaxrestore_final_statusendpoint as a final completion source. - Restore auth: restore token verification now uses a plugin-controlled stable HMAC secret so token checks survive
wp-config.phpsalt replacement during restore (including post-complete read grants). - Restore UI: page reload/resume now restores the active job’s short-lived restore token from server bootstrap so Step 3 monitoring continues after DB import session loss without recurring admin-ajax 403 popups.
- Restore UI: completed overlay
Exit Safe Modenow accepts post-complete restore-token grant fallback when nonce/session continuity is broken after restore, preventing generic red error toasts. - Restore UI: preserve the completed job’s restore token until Safe Mode exit succeeds, and make both completion overlay and Safe Mode notice buttons send the same job-bound token/grant payload instead of relying on nonce-only requests.
- Restore UI: Step 3 now hard-blocks full-site execution when preflight says overwrite is required but not enabled, so the button state matches server preconditions instead of failing with late 400 errors.
- Restore UI: auth-check interruptions now use a restore-specific login redirect (
wp-login.php?redirect_to=...restore...) to keep reauth return paths pinned to Restore page resume flow instead of drifting to host-specific admin routes. - Restore UI: harden auth-check race handling by removing late-injected WordPress interim-login/thickbox modals while restore is running or final success is locked.
- Restore runtime policy: preserve destination
permalink_structureandrewrite_rulesacross DB import, then flush rewrite rules to keep/wp-jsonpretty routes available alongside?rest_route=fallback. - Restore: prefix migration now performs collision-safe targeted key migration for WordPress role/capability keys (
*_user_roles,*_capabilities,*_user_level) instead of broad prefix key renames that could fail with duplicateoption_nameentries on populated targets.
2.7.274
- Restore: sliced ZIP extraction now writes to a sidecar
*.museder-restoreone-partialfile and atomically renames on completion so WordPress core files are never left half-written when a time slice ends (fixes admin critical errors mid-restore on shared hosting). - Restore: phase-aware file-stage progress (wp-content vs core) uses filtered entry counts instead of whole-archive index ratios (fixes misleading ~85% at start of core extraction).
- Restore: stale-tick watchdog re-schedules WP-Cron when a running job has not progressed recently.
- Restore: defer
wp-config.phpuntil the file stage completes; on populated hosts withdb_then_files, backup mode now merges live DB credentials and table prefix instead of overwriting mid-restore (fixes database connection errors after reload). - Restore: wp-config merge uses parenthesis-aware parsing so
define()values with nested calls (e.g. Dockergetenv_docker()) are preserved without PHP parse errors. - Restore: media path reconciliation now advances past index building and repairs UTF-8 database attachment paths that map to ASCII filenames on disk, preventing restored pages from showing missing images.
- Backup: detects and logs attachment DB-to-disk media path drift before packaging so future archives surface filename mismatches instead of silently preserving them.
- Restore: media path reconciliation now expands attachment pairs to thumbnail size variants (-WxH), scans post content and post meta for stale uploads URLs, and rewrites attachment metadata so Elementor and inline images resolve after restore.
- Restore: media path apply_pairs now runs as a time-sliced database search-replace with row checkpoints so large pair sets no longer hit PHP max_execution_time during cleanup on shared hosting.
- Restore: reject unsafe media path pairs (empty filename stems) and map menu-icon attachments to on-disk ICON filenames when ASCII-fold matching is ambiguous.
- Restore: rehydrate active restore jobs from the restore lock after fatal timeouts so cron and the admin UI can resume cleanup instead of leaving Restore History stuck on Running.
- Restore: Image Widget / Max Mega Menu media URLs are synchronized from fixed attachment paths after restore so serialized widget raw URLs no longer keep stale uploads filenames.
- Restore UI: auth-check, session, or admin-ajax 403/500 interruptions during Step 3 keep monitoring the background job and reconcile to success when history/status shows completion.
- Restore UI: reload the Restore page after a completed job to show the success state when host polling was blocked mid-run.
- Restore UI: completed jobs now show a success notification from status polling, and repeated 401/403 polling blocks show a clearer host-blocking message.
- Restore UI: admin-ajax 400/403 host interruptions during Step 3 now stay in background monitoring mode instead of resetting the wizard before the backend job can report success.
- Restore: excludes RestoreOne runtime locks, active-job pointers, restore tokens, and transients from backup export/import, then clears stale imported runtime options after restore completion.
- Restore UI: adds a token-based REST final-status confirmation path so Step 3 can show success even when admin-ajax/auth-check is blocked after the backend job completes.
- Restore UI: failed cancel requests no longer reset the wizard while cron may still be restoring; the UI now keeps the active job and rechecks final status.
2.7.273
- Backup: fix post-close archive verification false failures on large ZipArchive backups (entry-index lookup + core-path prefix fallback) so shared hosts no longer trigger a destructive full PclZip repack.
- Backup: remove automatic full-archive PclZip repack after verify failure; accept structurally sound archives and fail fast when the archive is truly incomplete.
- Backup: defer finalize/verify to the tick after
ZipArchive::close()so the closed archive is readable before verification runs.
2.7.272
- Backup Auto mode: align “large site” detection with the Backups page estimate warning (>1 GB total) — Auto now enables Fast mode and Smart Exclude when size or cached estimate exceeds threshold, not only when file count exceeds 50,000.
- Backup UI: clarify Auto status when standard (Balanced) mode applies on sites below Auto thresholds.
2.7.271
- Restore Step 3: page bootstrap now uses
map_restore_service_status_to_job()so reload during an active restore resumes monitoring instead of resetting to “Ready to start”. - Restore Step 3: polling/history fallbacks keep in-progress UI on transient AJAX errors; restore history table updates during same-page sessions.
- Restore: files-only jobs force
wp_config_mode: keepsowp-config.phpis not overwritten when the database is skipped. - Restore: ZIP file-stage progress no longer jumps to 93% at the start of core extraction.
2.7.270
- Restore Step 1: separate analysis from execute preflight — populated-site overwrite requirement is a Step 2 warning, not a Step 1 failure (fixes “Analysis complete” + empty Summary + “Analysis failed” on chunk finalize).
- Restore: profile detection ignores this plugin in active-plugin count and excludes
uploads/museder-restoreone/from uploads heuristics (reduces test-site false “populated” classification).
2.7.269
- Restore Step 1: cache archive analysis after chunk finalize so Load Info on large backups reuses results instead of re-scanning the ZIP (fixes timeout on 500MB+ server files).
- Restore Step 1: fix wizard UI when Load Info fails — no more stale File Summary with “Analysis failed”; reuse valid session summary when the same backup was already analyzed.
- Restore upload: chunk finalize now calls
MusederRestoreOneUI.handleSummaryResponsefirst (wizard unlock without page reload).
2.7.268
- Restore: large-site reliability — after database import, progress polling continues via a file-backed restore token (survives session/nonce loss during NDJSON restore).
- Restore: nopriv AJAX handlers for restore progress (
job_status,restore_tick) so polling works when the WordPress login cookie is invalidated mid-restore. - Restore: post-complete read grant so the UI can confirm 100% success after the token is revoked at job completion.
- Restore: media path reconcile — after restore, match uploads database paths to on-disk filenames (UTF-8 vs ASCII) and log
MEDIA_PATHS_RECONCILE_DONE. - Restore: stable job meta paths (canonical storage), multi-slice tick drain, and improved
restore_job_statusmapping after DB import. - Restore: make
zip_archive_has_wp_core()public so preflight can detect full-site archives without a fatal error (BUG-SUN-001). - Restore bootstrap: register WordPress stubs before
bootstrap_root(); addesc_attr()stub; definetrailingslashitbeforeABSPATH(BUG-SUN-003, BUG-SUN-004).
2.7.267
- Restore (Approach B): site profile detection (existing / fresh / no core), preflight blocks, and Step 2 restore order, scope, wp-config mode (backup / keep / merge), and pause other plugins (default on).
- Restore: populated sites require a pre-restore snapshot; default order database then files (user can switch to files-first).
- Restore: fresh / empty profiles default to files then database with UI notices (including DB overwrite on fresh installs).
- Restore: empty docroot full-site restores can use
museder-restoreone-restore-bootstrap.php(copy to site root) for loopback file slices before WordPress core exists. - Restore: ZIP restores use a two-phase file stage (wp-content, then WordPress core and site root files when present in the archive).
- Restore: includes 2.7.265 mid-restore plugin isolation, restore token, and safe-plugin reapply after restore.
- Restore: writes a fallback .htaccess when missing after permalink flush (Apache).
2.7.262
- Backup reliability: when PclZip compatibility repack is active, the async job runner no longer keeps a long-lived
ZipArchivehandle on the same.zipfile (PclZip and ZipArchive were both mutating the archive, makingclose()extremely slow on large sites and risking central-directory corruption). - Backup verification: post-close archive checks now resolve ZIP entry names more robustly (
zip_archive_has_entry()— forward slashes, optional./prefix, andZipArchive::FL_NOCASEwhen available) so false “verification failed” results are less likely to trigger a full repack.
2.7.261
- Developer / review automation (not shipped in the WordPress.org ZIP): WP-CLI matrices for all registered
wp_ajax_museder_restoreone_*actions, REST routes undermuseder-restoreone/v1+v2, andadmin_post_museder_restoreone_*downloads (capability + nonce / referer expectations);
Follow this listing's changes (Atom feed)