docs
Install it, back up, get it back.
Everything you need to run Restora, from the first backup to a restore on a site that no longer loads.
restora 1.4.2
Requirements
- WordPress 6.0 or newer, tested up to 7.1.
- PHP 7.4 or newer, 64-bit, with the zip, zlib and pdo_mysql extensions (present on almost every host).
- MySQL or MariaDB.
- A single site, or a multisite network with Restora Pro.
Install
In the WordPress admin go to Plugins › Add New, search for “Restora”, then install and activate it. Or download the zip from WordPress.org and upload it under Plugins › Add New › Upload Plugin.
Open Restora in the admin menu. Nothing else needs setting up: no account, no API key, no service of ours in between.
Your first backup
Press Create backup and choose what it should hold: the full site in one zip, or separate files for the database, plugins, themes, media uploads and the rest of WordPress.
The backup runs in short slices and continues where it stopped, even in the middle of a large file, so a short PHP time limit on shared hosting is enough. Keep the Restora page open until it finishes; scheduled backups need no page at all.
Each backup is a normal zip you can open anywhere. The database is plain SQL inside the .restora/ folder of the archive.
Press Details on any backup in the list to see what it holds: the site it came from and the WordPress, PHP and MySQL versions at the time, every database table with its rows, and the files grouped as each plugin and theme with its size, media uploads by year, and WordPress itself. Encrypted backups are listed the same way, from the archive’s table of contents.
Schedules and retention
Under Settings, turn on backups of the whole site and of the database, from every day to every month, pick the time of day to the minute, and choose how many of each to keep. Older ones are removed automatically.
Scheduled backups start through WP-Cron. On a site with very few visits they may start late; a server cron job that calls wp-cron.php makes the timing exact:
*/15 * * * * curl -s https://example.com/wp-cron.php > /dev/null
Restore a backup
Pick a backup in the list and press Restore, then choose the database, the files, or both. Restora first takes a safety backup of the site as it is now.
Every file in the archive is verified before anything is written. Files are replaced one by one with their current versions set aside, and the database is loaded into temporary tables and swapped in at the very end, in one step.
If the restore cannot finish (the disk fills up, a folder cannot be written), every file goes back to how it was and the database is left untouched. wp-config.php is never overwritten, and files that are not in the backup are left in place.
If it is cut off half-way (the window is closed, the computer or the connection goes down), open the Restora screen from any window and press Carry on here to continue from the last checkpoint, or Undo the restore to put the site back as it was. Left alone, it is undone after three hours. Maintenance mode lifts about two minutes after a restore stops, so the admin opens again.
Upload a backup
If the old site is gone, install WordPress and Restora at the new address, press Upload a backup above the list of backups, and choose the zip on your computer. It goes up in pieces sized to the server’s limits and to the connection, so backups of 10 or 20 GB upload on any host.
If the page is closed or the connection drops, choose the same file again and it carries on from where it stopped; what arrived is kept for three days. The backup is then listed like any other. Press Restore, and it moves to the address of this site. Log in afterwards with the old site’s username and password, and turn the schedule on again.
Restore by hand, when wp-admin is unreachable
A Restora backup is a normal zip, so you are never locked in. If the Restora screen cannot be reached (a white screen, a broken plugin, a database that will not connect), the backup can be restored without it. Restora Pro does these steps for you with its emergency recovery page; by hand they are:
- Download the backup. It is in wp-content/restora-<random>/ on the server; use FTP or the host’s file manager. Download its .json and .log side files too if you want to keep them.
- Unpack the zip on your computer. Everything except the .restora/ folder is the site’s files, in the same layout as on the server. The .restora/ folder holds the database as plain SQL (database-0001.sql, database-0002.sql, …) and the manifest.
- Files: upload the unpacked files over the site with FTP or the file manager, replacing what is there. Do not upload wp-config.php from the backup unless the server’s own is missing; the live one has the current database details.
- Database: open phpMyAdmin (or the host’s database tool), choose the site’s database, and import the .restora/database-*.sql files in order. They contain DROP TABLE IF EXISTS and CREATE TABLE statements, so the old tables are replaced. If the site has a different table prefix than the backup, rename the tables afterwards and update the <prefix>user_roles option and the <prefix>capabilities user meta.
- If the site address changed, set siteurl and home in the options table to the new address.
- Open the site. Log in again: the restored database has its own logins. Restora shows the backups it finds in its folder as before.
Encrypted backups (Pro) are AES-256 WinZip archives; 7-Zip, WinRAR or WinZip open them with the backup’s password. A backup locked with a key pair needs its private key turned into the backup’s password first; Restora or the recovery page does that for you, so keep a copy of the private key where you can reach it without the site.
For the day the whole server is gone: with Pro, copies of your backups live on S3 or SFTP, and the installer file in a full backup sets the site up on a new server, with the new address and database.
Backups of other plugins
A backup should not carry other backups inside it. Under Settings › Backups of other plugins, Restora lists each plugin whose backups it finds on the site (Duplicator, UpdraftPlus, All-in-One WP Migration, WPvivid, Backup Migration, BackWPup, Solid Backups, WP-DB-Backup), with the folder and the size, reading the folder from the plugin’s own settings where it was changed. What is ticked is left out; untick one to include it. Leaving them out of the backup does not delete them.
Tables outside WordPress
Custom code sometimes keeps its own tables in the same database, without the WordPress prefix. Restora lists them under Settings › Other tables in the database; tick the ones a backup should take. Tables you do not tick are never touched by a restore.
A backup before updates
Under Settings › Before updates choose what Restora saves just before WordPress updates a plugin, a theme or itself: the database, or the database with the plugins and themes folders. Media is never included, because the update waits for the backup.
One backup covers all the updates of the next ten minutes, so a batch of ten plugins makes one backup, not ten. The newest few are kept (you choose how many). A backup that fails never stops the update; you get the failure email if an address is set.
The backup appears in the list as “Before update · plugin woocommerce”, so you know what it was taken for.
WP-CLI
Everything the screen does, from the terminal, for scripts and for sites managed over SSH:
wp restora backup --type=db
wp restora backup --parts=plugins,themes --separate
wp restora list --format=json
wp restora restore restora-full-20261018-082834-6775986026f8.zip --yes
wp restora log restora-full-20261018-082834-6775986026f8.zip
wp restora status
A restore first saves the site as it is now, unless you pass --skip-safety. The password or private key of an encrypted backup can come from the RESTORA_PASSWORD environment variable, so it stays out of the shell history. Exit code 1 on any failure, and wp restora status exits with 1 whenever the backups need attention, so it fits in monitoring.
add-on
Restora Pro
Pro is a separate plugin installed next to Restora. It adds:
- Copies on SFTP and S3-compatible storage (Amazon S3, Backblaze B2, Wasabi, MinIO, Cloudflare R2), with their own retention.
- AES-256 encrypted backups, locked with a key pair (only the public key is on the site) or a password. They restore with your private key or password, even without Pro.
- Repair: when a plugin, a must-use plugin, the theme or a WordPress file takes the site down, the recovery page finds which one and fixes just that, without restoring the whole site.
- An emergency recovery page that restores the site when WordPress itself no longer loads.
- Restoring only what you choose from a backup: one plugin, one theme, a folder of uploads, any file or folder, or some database tables, with the rest of the site left as it is.
- Moving a site, or a whole multisite network, to another server or domain with one installer file.
- The hub: one screen to watch, run and download the backups of all your sites.
- Multisite networks, backed up and restored site by site, or all at once as one set.
To turn it on, add the site’s address to your licence in your account (restora.perforks.com/account), then enter the licence key in the Restora Pro licence card on the Restora screen. A licence works only on the sites you add, up to the number in your plan; remove a site to free its place.
Repair a site that is down (Pro)
When a plugin update, a custom plugin, a change to the theme or a damaged WordPress file takes the site down, the emergency recovery page can usually fix it in a minute, without a full restore. Open the recovery page, log in with its password and press Find what is wrong.
- It asks the site whether it answers, as a visitor would, and reads the last error from the server log.
- It sets the usual suspects aside for a moment (.htaccess, must-use plugins, active plugins, the theme’s functions.php) until the site answers, then brings them back one at a time. Whichever takes the site down again is named. This works for any plugin or theme, including custom ones, because it watches the site instead of reading the code.
- If none of that helps, it tries the site on a default theme, and compares the WordPress files with the newest backup.
- Everything goes back the way it was at the end of the scan. Nothing changes until you choose a fix.
For each finding you choose the smallest fix: switch it off (renamed with .restora-off, put back with one click later), restore only that plugin, theme or file from the backup, switch to a default theme, or repair damaged database tables. The database and media are never touched by a repair.
What Repair cannot fix: an .htaccess with a syntax error takes the whole folder down at the web-server level, the recovery page included (rename the file over FTP); PHP itself down, a full disk, or database details nobody has. For those, a full restore or the host is the way. Repair uses the newest unencrypted backup on the server.
Multisite networks (Pro)
A network is backed up site by site. Under Network Admin › Restora, the create form asks which site: the main site, one of the others, or all of them.
- The main site’s backup carries the network itself: its own tables and files, the network tables (sites, blogs, signups, site meta) and the whole user list.
- Every other site’s backup carries that site’s tables, its uploads folder and the users who belong to it.
- “All sites” makes one backup per site in one set, from the screen, from WP-CLI with --site=all, or on schedule (a scheduled backup on a network is always the whole network).
Restoring the set puts the whole network back with one click, main site first, each site checked and swapped in one step. Restoring one site touches only that site: its tables, its uploads, and its users merged into the shared user tables, so users added since the backup are kept and the other sites are never touched.
Moving a network: choose Move to another server under Network Admin › Restora. It always takes every site, one backup file per site, plus the installer. Upload all of them to the new server and open the installer: it checks every file before it writes anything, installs the main site first and then the others, and moves every address. Sites in folders follow the network to its new folder; sites on subdomains (shop.old.com) become subdomains of the new domain (shop.new.com); a site with a domain of its own keeps it, and the installer says so. A network of subdomains has to live at the root of its domain, and every subdomain has to point at the new server.
A network counts as one site for the licence. The free plugin says so and stops on a network.
Troubleshooting
- A backup does not start: the site must be able to call itself over HTTP. Security plugins or a firewall that block loopback requests stop it; allow requests from the server's own address.
- Restore is unavailable: Restora shows what the server is missing (the zip or pdo_mysql extension, or a WordPress folder it cannot write to).
- “The job stopped responding and was abandoned”: a backup made no progress for too long, usually because its window was closed or WP-Cron did not run. Update Restora, then see the article on backups that stop; a server cron job solves most cases.
- “Your backups are hidden, but not locked”: the site runs on nginx, which ignores the lock file Restora puts in its backup folder. Restora shows the exact line for this site (with its real folder name) and where to paste it in CloudPanel, Plesk and similar panels; after that, press Check again.
Still stuck? Write to us with the job log from the backup list.