Wrensafe – Backup, Restore & Migration
Back up, restore and migrate WordPress.
Install in
Wrensafe is a WordPress backup, restore and migration plugin built for the moment that matters: getting a site back, working, with its links and images intact. It restores on the same server or a completely different one. Every backup is a single .wbp archive with its own manifest and checksums, every restore starts with an integrity check, and the dashboard tells you plainly whether your site is protected.
Built for what goes wrong
- Broken images and links after a restore or migration? Fix Links finds links that still point to the old site, server folders written into image addresses, http links on an https site and missing media files. It fixes the links after making a database backup.
- Stuck with a backup from another plugin? Restore
.wpress, UpdraftPlus, Duplicator, WPvivid, BackWPup and other backups without installing the plugin that made them. - Afraid a plugin update will break the site? Safe Update checks the site after updating and puts the previous version back if the update causes a fatal error.
- Moving to a new domain or host? Wrensafe rewrites the old addresses and paths, including inside serialized data and page-builder content.
- On shared hosting? Backups and restores run in small steps, so large sites finish even where PHP may only run for 30 seconds.
Back up
- Full site or just what you need: database, files, media, themes, plugins, or everything.
- AES-256 encryption (optional, per backup). The password is never stored.
- Automatic backups every day, week or month at the time you choose, keeping only the newest copies — with a separate schedule for the database, for example the database every day and the whole site every week. Plus an automatic safety backup before WordPress, plugin or theme updates.
- Off-site copies: each backup can be copied to your own FTP/FTPS or S3-compatible storage right after it’s made. It’s sent in small parts that resume after an interruption, so large backups work on any host, and only the newest copies are kept there. Passwords and keys are stored encrypted.
- Checked after every backup (optional): the same integrity check as Verify runs as soon as a backup is made, and a backup that fails it is reported instead of being kept as good.
- No size limits: multi-gigabyte sites back up, download, upload and restore. Interrupted downloads and uploads resume where they stopped.
- Works on shared hosting: backups and restores run in small, time-limited steps, so they finish even where PHP may only run for 30 seconds.
- Smart exclusions: other plugins’ backup archives and cache folders are skipped by default; plugin and theme code is always backed up completely. You can also leave out files larger than a size you choose, and database tables you don’t need, such as large log or statistics tables.
Restore safely
- Integrity first: the archive, manifest, database and file checksums are verified before anything changes.
- Rollback points: a safety backup is created automatically before every restore, so a restore can be undone.
- Atomic database swap: the database is rebuilt in temporary tables and switched over in one step, so your site keeps working during the import.
- Restore what you need: the whole site, only the database, only the files, or just the media, themes or plugins.
- Your server settings stay yours:
wp-config.phpis never put in a backup or overwritten, so your database password and security keys stay on the server. Wrensafe itself is never overwritten, and server-specific files (.htaccess,.user.ini, cache drop-ins) are kept when you move a site to another server. - Plugin safety: after a restore, Wrensafe loads the site once. Any plugin that is incomplete, needs a newer PHP or WordPress than this server has, or stops the site from loading is turned off instead of breaking the site, and you’re told which one and why.
- Fix Links: after a restore or a move, Wrensafe checks for links that still point to the old site or have a server folder in their address, fixes them after a database backup, and lists media files that aren’t on the site. Email addresses and other domains are left alone. A link to another site that contains the old address, such as a share or web-archive link, is updated too. Server folders it can’t confirm as this site’s, and tables left out of backups, are listed for you to check by hand.
- WooCommerce Safe Mode keeps new orders, customers and stock untouched while the rest of the store is restored.
Update safely
- Choose how to update: when you update a plugin on the Plugins or Updates screen, Wrensafe asks how. Quick Update is WordPress’s standard update; Safe Update adds a safety net.
- Safe Update: Wrensafe saves a copy of the plugin, updates it, then loads your home page and admin area. If the update causes a fatal error, a server error or an empty page, the previous version is put back within seconds and stays active (if it can’t be put back, the plugin is turned off so the site keeps working). You see what went wrong, down to the file and line.
- Several plugins at once: update them one by one (each is checked before the next) or all at once (one check; if the site breaks and the error names one of them, only that one is rolled back, otherwise all of them are). The updates continue in the background, through WP-Cron, when you close the page. If a run stops for six minutes with a plugin installed but not yet checked (the request installing it was cut off, or WP-Cron doesn’t run), visitors’ pages load without that plugin until the run has checked it, and put the previous version back if needed.
- Roll back later: the copy saved before each update is kept for 14 days (you choose how long), so an update can be undone from Wrensafe Safe Updates even when the site check passed.
- Clear caches after updating: the page cache of the common caching plugins and WordPress’s object cache, so visitors see pages built with the new versions.
Migrate
- Move a site to a new domain or server: upload a
.wbparchive on the new site; URLs and file paths are rewritten safely, including inside serialized data and page-builder JSON. Different table prefixes are handled automatically. - Direct Migration: send a backup straight to another WordPress site using a one-time migration key — no download or upload. It arrives in that site’s backup list, ready to review and restore.
- Migration Assistant: scans your server limits, database and files, and recommends the safest way to migrate.
- Staging: create a password-protected copy of your site, test changes, then push them to live.
- Search & Replace: change text anywhere in the database — for example an old address — safely inside serialized and JSON data. A dry run shows how many rows would change before anything is saved.
Switch from another backup plugin
- Restore backups made by other plugins: upload a backup from All-in-One WP Migration (
.wpress), UpdraftPlus, Duplicator, WPvivid, BackWPup, Backup Migration, Total Upkeep, Solid Backups (BackupBuddy), WP Migrate or Jetpack VaultPress Backup under Import / Restore Other Backup Plugins. Wrensafe reads it, shows what’s inside and restores it with the same checks as its own backups. The other plugin doesn’t need to be installed. - Any other backup: a
.sqldatabase dump and/or a.zipor.tarof thewp-contentfolder works too, for example from your hosting control panel. - Backups split over several files (UpdraftPlus, WPvivid) are uploaded together; each file resumes if the connection drops.
Stay informed
- Dashboard: protection status, recent backups, schedules and migration readiness at a glance.
- Activity Logs that record every step with the exact reason when something fails (passwords and keys are never logged), plus a one-click debug bundle for support.
- Email notifications when a backup or restore fails, and, if you like, when one completes.
- Site Health checks: Tools Site Health tells you when the newest backup is out of date, when backups are only on this server, and when the backup folder can be downloaded from the web.
- Dashboard widget: the newest backup, the next scheduled one and the off-site copy status on the WordPress Dashboard, with a Back up now button.
Credits
Wrensafe includes the Manrope typeface by The Manrope Project Authors (github.com/googlefonts/manrope), licensed under the SIL Open Font License 1.1; the licence is in assets/admin/fonts/OFL.txt.
Privacy
Wrensafe stores backups on your own server and never sends them, or any usage data, to Wrensafe. Data leaves your site only when an administrator sets up or starts one of the features listed under External services, such as copying backups to their own remote storage. Backups can contain personal data (user accounts, orders, form entries), so download and store them as carefully as the site itself.
External services
Wrensafe only contacts the services below, and only after a site administrator configures or starts the related feature (the Site Health check, which only calls the site itself, is the one exception). Nothing is sent on activation, and no usage data or tracking is collected. Like every request WordPress makes, these requests include the site’s address in the User-Agent header.
- WordPress.org core checksums API (api.wordpress.org) — when an administrator runs the Security scan (Wrensafe System Info), to compare WordPress core files with the official checksums. Data sent: the site’s WordPress version. Privacy Policy.
- Import from URL — downloads a backup archive from the URL the administrator enters on the Import / Restore page. Nothing is sent to that server apart from the request itself.
- Direct Migration — when an administrator sends a backup, sends it to the other WordPress site they pair with a one-time migration key, and only to that site. Data sent: the migration key, the backup archive (in signed parts), its file name, size, type and checksum, and this site’s address, which is shown in the receiving site’s backup list.
- Remote storage — when an administrator sets it up under Settings Remote storage, backup archives are uploaded to the FTP/FTPS or S3-compatible server they enter, using the login or keys they enter. Wrensafe also lists and deletes older copies in that folder or bucket to keep only the newest ones. Which service this is, and its terms and privacy policy, are the administrator’s choice: no service is preset (the providers named in the settings are only examples), and Wrensafe has no service of its own.
- Site Health check of the backup folder — requests a short test file from the site’s own address, to check that backups can’t be downloaded from the web. It runs when Tools Site Health is opened and during WordPress’s own weekly Site Health check. No other server is contacted.
- Plugin updates (Safe Updates) — updates run through WordPress’s own updater, which downloads each update from the address WordPress lists for it (WordPress.org, or the author’s server for a premium plugin). “Check again” on the Safe Updates page runs WordPress’s own update check with WordPress.org. To check the site after an update, Wrensafe loads the site’s own home page and admin area; no other server is contacted.
- YouTube (intro video) — under Settings Support Us the intro video is a picture stored in the plugin. Only when an administrator presses play, their browser loads the player from youtube-nocookie.com and other YouTube and Google addresses, which receive their IP address, browser details and this site’s address (as the referrer); once the video plays, YouTube may store cookies or similar data in the browser. YouTube terms, Google privacy policy.
- Email notifications — backup, restore and copy results are sent with WordPress’s own
wp_mail()to the addresses set under Settings Notifications, through whatever mail service the site uses.
Written by Joobi from the project's own listing. See the source page
1.2.8
- New: numbers in the Wrensafe menu when something needs you: updates waiting (Safe Updates) and links to fix (Fix Links). Rollback and Scheduled Backups show a “!” only when a restore or a scheduled backup failed, or schedules stopped running.
- New: a redesigned review card, and a notice asking for a review at a good moment (after a restore that worked, or a few backups and two weeks of use). “Maybe later” asks once more after 30 days; closing it or “I already did” ends it. It doesn’t appear while a backup, restore or update is running, while the Fix Links notice is showing, or when the latest backup, restore, update run, transfer, import or staging job didn’t go well (it failed, its off-site copy failed, or an update was put back), and not when a scheduled backup failed or is late.
- New: the intro video under Settings Support Us. Nothing loads from YouTube until you press play.
- New: Settings Import / Export. Export Wrensafe’s settings to a file, import them on another site after reviewing every change, or reset them to defaults, with an undo. Passwords, off-site storage, the backup folder and your email address are never included.
- Improved: Fix Links now shows what it is reading, how far it has got and each part as it finishes, with a live count of what it has found. Old addresses are added and removed as neat chips, with a clear message when one is wrong.
- Improved: when an update isn’t installed or is rolled back, Safe Updates now says why (for example an inactive license, a blocked download, no disk space or a fatal error) and what to do. A run where most updates worked shows as a success, with the ones that didn’t marked next to it.
- Improved: Safe Updates shows live progress in both update modes: how many are done, which plugin is being worked on and whether it is downloading, installing or being checked.
- Improved: the Security scan shows each check as it runs, then a clear summary with what needs a look first. A check that couldn’t run now says so instead of showing “Nothing found”.
- Improved: buttons now look and behave the same on every screen, and every delete or stop action has the same clear style.
- Improved: on sites with a long admin menu, short Wrensafe screens stay in view while the menu scrolls, instead of leaving an empty page.
- Fixed: off-site storage settings and their connection test now need the permission to manage off-site storage (administrators have it), and a saved password or secret key has to be typed again when the server or account changes.
- Fixed: two restores started at the same moment could both go ahead; starting a restore is now one step only one request can take.
- Fixed: Fix Links also finds and fixes a Windows server folder written with doubled backslashes (as some page builders store it).
- Changed: the empty Roadmap box under Settings Support Us is hidden until there is a roadmap page to link to.
1.2.7
- Fixed: restoring a backup made with All-in-One WP Migration onto another site broke images and file links: the server’s folder (such as /var/www/html) was written into their addresses, right after the site’s address. Restores now only replace full folders and whole addresses (the old address no longer changes a longer one such as old-site.com.au), and also replace the old address’s “www.” form.
- New: Wrensafe Fix Links. After a restore or a move it checks posts, pages, page-builder data, settings and the Media Library for links that still point to the old site, links with a server folder in them, http:// links on an https:// site, and media files that aren’t on the site. It fixes the links after a database backup and lists the missing files. Email addresses and other domains are left alone. A link to another site that contains the old address, such as a share or web-archive link, is updated too. Server folders it can’t confirm as this site’s, and tables left out of backups, are listed for you to check by hand. After a restore that moved the site, a notice offers it with a Fix links button.
- Fixed: when the site check after an update only timed out (a slow site) and the update couldn’t be rolled back, Safe Updates deactivated the plugin, which could break a theme that needs it (for example Advanced Custom Fields). Slow pages now get a longer second try; when an update can’t be rolled back after a timeout, the plugin is left switched off only if the site answers again without it; and a plugin whose deactivation breaks something else is switched back on.
- Fixed: after one update left the site with a problem, Safe Updates rolled back every later update for that same problem. The run now stops instead.
- New: “Stop now” in Safe Updates ends a run at once (an update installed but not checked yet is rolled back), next to “Stop after this update”. A run nothing has moved for five minutes says so.
- Fixed: a restore started while Safe Updates was running left the run hanging for hours. A restore now stops the update run first.
- Changed: a new header on Wrensafe’s screens, with links to the documentation and support.
- Fixed: the import screen counted one of Wrensafe’s own protection files as an uploaded backup file.
- Fixed: deleting two copies of Wrensafe together (for example one installed from a GitHub download) could stop with a PHP error on the second copy, or keep its data although “Delete Wrensafe’s data” was on. When both copies are 1.2.7 or later, the second one now removes the data once no copy is left.
- Fixed: in “All at once” Safe Updates continued in the background, a step that runs out of time now checks the updates it already installed before it installs more, so it never ends with updates installed but not checked.
- Fixed: a Safe Updates step that runs longer than its lock now leaves the run to the request that took it over in every case, also when an error happens at that moment, and a large package’s unzip and copy keep the lock.
- Fixed: choosing to keep or roll back an update an add-on held back no longer ends in an error page if another request took the run over meanwhile.
- Fixed: when a run that an add-on’s WordPress core update was part of stops, the restore clean-up waits if another restore is under way.
- Changed: the FAQ says what to do when restoring after a hack.
1.2.6
The 1.2.5 fixes below come to WordPress.org with this version (1.2.5 was a private test release).
- Changed: the plugin’s WordPress.org page now has a short overview video.
- Changed: the FAQ now explains that a restore leaves files added after the backup in place.
1.2.5
- Fixed: with “All at once”, a Safe Updates run continued in the background (WP-Cron) could stop after installing updates and before checking them. On hosts where WP-Cron only runs every few minutes, visitors then got the site without those plugins until the next run. A background step now keeps going for up to 150 seconds more so it can check what it installed, and keeps its lock while it runs, also while it waits for a download or a site check.
- Fixed: if a background Safe Updates step ended early (PHP’s time or memory limit, or an exit), nothing continued the run. It now continues on the next WP-Cron run, usually within about a minute, or about six minutes later if the host killed the request outright. If steps are cut off at the same point three times in a row, the run stops and puts back any update it couldn’t check (if that is cut off too, the run stops without trying again: an update being rolled back is handled as when a rollback fails, which keeps the site working and deactivates a plugin if needed, and every update left unchecked is named for you to check).
- Fixed: a background run waiting for your decision (when an add-on asks for it) or for another request’s step no longer starts a WP-Cron request on every page view; it waits until you decide, or looks again every 30 seconds.
- Fixed: on a password-protected staging site whose page caching couldn’t be turned off automatically (WP_CACHE set in an unusual way or outside its wp-config.php), pages cached earlier were kept. They are deleted now, and the Activity Log says how to turn caching off.
1.2.4
The first 1.2 release on WordPress.org. Versions 1.2.0 to 1.2.3 were tested on a few sites first; everything they added is listed here, and the 1.1.5 to 1.1.7 fixes are included.
- New: Safe Updates. When you update a plugin on the Plugins or Updates screen, Wrensafe asks how: Quick Update (WordPress’s standard update) or Safe Update, which saves a copy of the plugin, updates it, checks the home page and admin area, and puts the previous version back automatically if the update causes a fatal error, a server error or an empty page. To update without being asked, turn the question off under Settings Updates.
- New: Wrensafe Safe Updates. Update several plugins one by one or all at once, in the background (it continues through WP-Cron when you close the page), follow the progress, and roll an update back from the copy saved before it for 14 days (you choose how long). If a run stops for six minutes with a plugin installed but not yet checked (the request installing it was cut off, or WP-Cron doesn’t run), visitors’ pages load without that plugin until the run has checked it, so an update that breaks the site doesn’t keep it down; the run then puts the previous version back if needed.
- New: “Clear the cache after updating” empties the page cache of the common caching plugins and WordPress’s object cache. It is ticked by default; untick it in the update window or under Settings Updates.
- New: Settings Updates: the update question (on or off), the way chosen by default, the cache option, how long saved copies are kept, and “Back up before updates” (moved here from Settings Backup). A Safe Updates run makes one backup before its first plugin instead of one per plugin.
- New: failure emails (Settings Notifications) also report updates that were rolled back.
- New: for add-ons, Safe Updates can run other kinds of updates and add their own checks and report details (the wpbp_safe_update_types, wpbp_safe_update_baseline, wpbp_safe_update_check and wpbp_safe_update_item_report filters), and Settings Remote storage can offer more kinds of off-site storage (wpbp_remote_storage_types).
- Security: staging password protection now works on every web server, nginx included. It used .htaccess, which nginx (and Apache without AllowOverride) ignores, so such a staging site could be open. Visitors now get a password form before any page, and the staging site’s plugins don’t run for them. After 10 wrong passwords from one address (or 100 in all) the form pauses for 15 minutes, also for passwords sent as HTTP Basic credentials. Pages shown after the password are marked as not cacheable, and page caching (WP_CACHE) is turned off on password-protected staging sites, whose cached pages are deleted, so a cache can’t show them without the password. Caches your host runs in front of WordPress that ignore “do not cache” headers aren’t covered. Everyone, administrators included, enters the password once a day; WP-CLI and the site’s own scheduled tasks get through. The password’s hash is no longer kept in a .htpasswd file that could be downloaded. Existing staging sites switch over automatically and keep their user name and password; new ones need a password of at least 8 characters.
- Security: the temporary Safe Updates guard takes effect for Wrensafe’s own requests (a secret for each run, WordPress’s own cron requests, WP-CLI) and, once a run has stalled for six minutes with a plugin update not checked yet, for WP-Cron and visitors’ page views (never admin screens, WP-CLI or form posts). It only refreshes PHP’s opcode cache for real site checks, is installed through WP_Filesystem, and a restore never puts it back. Saved copies have unguessable file names.
- Fixed: on PHP 7.4 and 8.0, very large backups no longer need one long request. The backup’s checksum, and a single very large file inside it, are now handled in short steps like the rest of the backup, so hosts with a 30-second limit don’t stop it at “Calculating checksum”. When a file or archive is too large for one step there, its checksum is recorded in a new format (8 MB slices, chained). Backups made by earlier versions are checked and restored as before.
- Fixed: Verify checks the whole-file checksum of a very large backup too, in short steps (it was skipped above 1 GB).
- Changed: Direct Migration sends each part of the backup as it is instead of as base64 text: a quarter less data, and nothing that hosting malware scanners flag. It still works in both directions with sites running Wrensafe 1.1.3 or later, and an interrupted transfer still continues where it stopped.
- Fixed: the receiving site of a Direct Migration checks the backup in short steps, so a large full-site backup no longer ends with “The receiving site had an error (HTTP 500)” on hosts with a 30-second limit.
- Fixed: staging sites have a working administrator again: the copy’s roles and capabilities now use the staging site’s table prefix (WordPress said “Sorry, you are not allowed to access this page”). Existing staging sites are repaired, and Push to Live turns them back into the live site’s.
- Fixed: Push to Live no longer stops half-way, logging you out, after copying the staging site’s settings: the live site keeps its address and your login while the push runs.
- Fixed: backups, staging copies and Search & Replace no longer include the tables of another WordPress site that shares the database with a longer table prefix (for example wp_shop_ next to wp_), and a restore leaves those tables alone, also when the backup was made by an earlier version. A multisite network’s own site tables are still included in its backups.
- Fixed: the Plugins and Updates screens no longer connect to the file system (FTP on some hosts) on every visit; that check runs when updates start.
- Changed: with “Delete Wrensafe’s data” on, uninstalling also removes the copies Safe Updates saved, wherever the storage folder is. The setting and this readme now list everything it removes.
1.1.7
- Fixed: during a restore with WooCommerce Safe Mode, visitors could see blank pages instead of the maintenance notice (only the checkout was paused). Visitors now see the maintenance notice during every restore, and Safe Mode still pauses the checkout.
1.1.6
- Security: a TAR backup is checked before PHP opens it, so a crafted file can no longer make PHP 7 create objects from data hidden in the archive. Wrensafe’s own TAR backups (made where ZipArchive is missing) open as before.
- Security: a restore now refuses SQL statements that would copy another table, a file on the server or another server’s data into the table being restored (subqueries, LOAD_FILE, MERGE/FEDERATED/CONNECT tables, CREATE TABLE … LIKE, variables). Backups made by Wrensafe and the supported plugins restore as before.
- Fixed: restoring a TAR backup (made on a server without ZipArchive) restored only the database and none of the site’s files, while reporting success. It restores the files now.
- Changed: removed two unused nonce helpers.
- Changed: External services in this readme now say exactly what Direct Migration sends, and where the security scan is.
1.1.5
- Fixed: a backup could miss database rows when the site deleted others while the backup ran (for example WordPress removing its ping notes for new posts, or expired sessions). Tables are now read in the order of their primary key, so rows deleted during a backup no longer make it skip rows that still exist.
1.1.4
- Changed: the plugin is now called “Wrensafe – Backup, Restore & Migration”.
- Changed: Wrensafe now needs WordPress 6.2 or later (PHP 7.4 or later, as before). On an older WordPress or PHP it stays inactive and says what it needs instead of stopping the site.
- Changed: off-site copies go to FTP/FTPS or S3-compatible storage. SFTP is no longer included: its connection relied on a PHP feature many hosts block. Saved SFTP settings are kept and Settings Remote storage explains what to do.
- Security: Direct Migration’s receiving site now checks the key, the request limits and every field before it accepts a request, and “Restrict to one IP address” now locks the key to the first server that sends with it, as described.
- Security: temporary database files made during a backup, restore or import now have names that can’t be guessed, and the storage folder is protected on Apache 2.2 and 2.4 (without errors) and on IIS.
- Security: settings saved by any route are checked like the Settings screen checks them, a backup can only be deleted from the backup folders, Import from URL no longer reaches addresses on the server’s own network, and on multisite only network administrators can use Wrensafe.
- Security: a restore only runs the table statements of the backup it restores; anything else stops the restore before the live site changes.
- Fixed: “Push to live” copied the staging site’s own Wrensafe records and its address and “discourage search engines” setting to the live site.
- Fixed: backups included the tables of staging sites, so each new staging site copied the earlier ones.
- Fixed: a restore’s clean-up could remove the temporary tables of another WordPress site that shares the database.
- Fixed: the safety file a restore uses stayed behind when Wrensafe was deactivated during a restore, which could leave the site blank; it is now removed on deactivation and can’t be opened directly.
- Fixed: migration keys expired early on sites ahead of UTC, and a key could expire during a long transfer.
- Fixed: a remote storage password with a backslash didn’t work after saving.
- Fixed: a missing Zip, Zlib, bz2 or OpenSSL extension now gives a clear message instead of an error; backup encryption is turned off with the reason when OpenSSL is missing.
- Fixed: some error messages showed a character code instead of an apostrophe or a quote.
- Changed: em
Follow this listing's changes (Atom feed)