Title: Restora
Author: Perforks
Published: <strong>2026 年 10 月 15 日</strong>
Last modified: 2026 年 10 月 18 日

---

搜索插件

![](https://ps.w.org/restora/assets/banner-772x250.png?rev=3748645)

![](https://ps.w.org/restora/assets/icon.svg?rev=3748645)

# Restora

 作者：[Perforks](https://profiles.wordpress.org/jbosnakis/)

[下载](https://downloads.wordpress.org/plugin/restora.1.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/restora/#description)
 * [评价](https://cn.wordpress.org/plugins/restora/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/restora/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/restora/#developers)

 [支持](https://wordpress.org/support/plugin/restora/)

## 描述

Restora backs up a WordPress site into one standard zip file: every file in the 
WordPress folder plus a dump of the database.

 * **Full site, or separate files.** One zip with everything, or pick the parts (
   database, plugins, themes, media uploads, WordPress and other files) and get 
   each as its own file, with “Download all” or one by one.
 * **Made for limited hosting.** The backup runs in short slices and continues where
   it stopped, even in the middle of a large file, so PHP time limits do not break
   it.
 * **Restore from the admin.** The archive is checked from start to finish first,
   the database is swapped in one atomic step, and a safety backup of the current
   site is taken beforehand.
 * **Schedules.** Daily, weekly or monthly backups of the whole site and of the 
   database, keeping only the newest ones.
 * **Standard format.** The archive is a normal zip you can open anywhere; the database
   is plain SQL inside `.restora/`.
 * **Closed to the web.** Backups live in a randomly named folder and can only be
   downloaded by an administrator through WordPress.

#### Why another backup plugin?

Because the hard part of a backup is getting it back, and that is where Restora 
spends its effort.

 * **It finishes on limited hosting.** Restora writes one zip and can pause and 
   resume in the middle of any file, so a short PHP time limit on shared hosting
   is enough for a site of any size, without changing any server settings.
 * **The restore is checked before it touches anything.** Every file in the archive
   is verified first, the database is loaded into temporary tables and swapped in
   one step, and `wp-config.php` is never overwritten.
 * **Nothing is locked.** Every feature described here works fully in this plugin,
   with no account and no service of ours in between. Your backups stay on your 
   server.

#### Restora Pro

Restora Pro is a separate, paid add-on for those who need more: copies on SFTP and
S3-compatible storage, an emergency recovery page that restores the site when WordPress
itself is broken, moving the site to another server with one installer, AES-256 
encrypted backups (locked with a key pair, so the site itself never holds the key),
and one screen to watch and back up all your sites. This plugin does not need it
and never asks for it beyond a single card on its screen.

#### Requirements

 * PHP 7.4 or newer, 64-bit, with the zip, zlib and pdo_mysql extensions (present
   on almost every host).
 * MySQL or MariaDB.
 * Single sites. Multisite networks are not supported yet.

### External services

Restora contacts no external service. The only requests it makes are to your own
site, so that a backup can keep itself going in short slices.

### Privacy

A backup is a copy of your site, so it contains whatever personal data your site
holds (user accounts, comments, orders and so on). It is stored in your own `wp-
content` folder. Restora collects nothing about you or your visitors and sends nothing
to its author. Keep downloaded backups somewhere safe.

## 屏幕截图

[⌊The Restora screen: make a full or partial backup, restore or download the ones
you have, and set the schedule.⌉⌊The Restora screen: make a full or partial backup,
restore or download the ones you have, and set the schedule.⌉[

The Restora screen: make a full or partial backup, restore or download the ones 
you have, and set the schedule.

## 安装

 1. Upload the plugin and activate it.
 2. Open **Restora** in the admin menu and press **Create backup**.

## 常见问题

### Where are the backups stored?

In `wp-content/restora-<random key>/`. Its name cannot be guessed, and on Apache
and IIS the files Restora puts in it deny web access. nginx ignores those files:
Restora checks once a day whether the folder can be reached from the web and, if
it can, shows the line to add to the nginx configuration.

### What happens to my backups if I delete the plugin?

They stay where they are. Install Restora again and it finds them.

### What is left out of a backup?

Cache folders, WordPress upgrade leftovers and the backup folders of other backup
plugins. You can add your own paths and patterns in the settings; developers can
also use the `restora_exclude` filter.

From the database, the tables of the site are backed up: WordPress’s own, plus any
other tables you choose in the settings. Views, triggers, stored procedures and 
events are not; WordPress does not use them, but some custom code does.

### What happens if a restore stops halfway?

It is undone. Before a file is replaced, its current version is set aside, and the
database is only switched over at the very end. If the restore cannot finish (the
disk fills up, a folder cannot be written, the window is closed), every file goes
back to how it was and the database is left untouched. Before anything is written,
Restora also checks that the folders are writable and that there is enough free 
space.

### Do scheduled backups need a real cron job?

No. They start through WP-Cron and then keep themselves going. On a site with very
few visits they may start late; a server cron job calling `wp-cron.php` makes the
timing exact.

### Does Restora create files outside its own folders?

No. Everything it writes stays in its own randomly named folder in `wp-content`.
While a restore runs, its settings file waits there too (readable by the site only,
and without the database credentials, which are read from `wp-config.php`) and is
removed when the restore ends.

### Can it restore an encrypted backup?

Yes. Backups encrypted by Restora Pro can be restored here with their password, 
even without Pro. A lost password cannot be recovered: that is what the encryption
is for.

### Can it back up before an update?

Yes. Under Settings, turn on “Before updates”: just before WordPress updates a plugin,
a theme or itself, Restora backs up the database, or the database with the plugins
and themes folders if you choose so. Media is never included, because the update
waits for the backup. One backup covers all the updates of the next ten minutes,
the newest few are kept, and a backup that fails never stops the update.

### Does it have WP-CLI commands?

Yes: `wp restora backup`, `wp restora list`, `wp restora restore <name>`, `wp restora
delete <name>`, `wp restora log <name>` and `wp restora status`. Run `wp help restora`
for the options. `status` exits with 1 when the backups need attention.

### Does it work with multisite?

Not yet. Restora is built and tested for single WordPress sites.

### Does a restore delete files?

No. Files that exist on the site but not in the backup are left in place, and `wp-
config.php` is never overwritten.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Restora」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Perforks ](https://profiles.wordpress.org/jbosnakis/)

「Restora」插件已被翻译至 4 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/restora/contributors)
为本插件所做的贡献。

[帮助将「Restora」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/restora)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/restora/)，查看[SVN仓库](https://plugins.svn.wordpress.org/restora/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/restora/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/restora/)。

## 更新日志

#### 1.1.0

 * A backup before updates: when the setting is on, Restora backs up the database(
   and, if you choose, the plugins and themes) just before WordPress updates a plugin,
   a theme or itself, from the dashboard, from WP-CLI or automatically. One backup
   covers a whole batch of updates; the newest few are kept.
 * WP-CLI: `wp restora backup`, `list`, `restore`, `delete`, `log` and `status`,
   for scripts and for sites managed from the terminal. `status` exits with 1 when
   the backups need attention, so it can sit in monitoring.

#### 1.0.3

 * Site Health now has a “Backups” check: it says whether a schedule is on, how 
   old the newest backup is, and whether the last scheduled backup failed.
 * A notice on the Dashboard and the Plugins screen when Restora is installed but
   no schedule is turned on. It can be dismissed.
 * The log of every backup stays next to it: a Log link in the list opens it, long
   after the job itself is gone. When you write to us about a problem, that is the
   text to send.
 * The list shows how long each backup took.
 * Not enough disk space is reported as soon as the scan knows the size of the backup,
   with the numbers, instead of failing near the end.
 * A backup started by hand that fails after its window was closed now sends the
   failure email too, when an address is set.
 * The Download button shows that the server is preparing the file, and says when
   the download has begun; from there your browser shows the progress. Download 
   all waits for each part to begin before asking for the next.

#### 1.0.2

 * Another WordPress site that shares the database is now recognised whatever its
   table prefix (a random one such as mttpiSq_ included). It is named under Settings›
   Other database tables instead of its tables being listed as if custom code had
   made them, and it is never backed up or restored with this site.
 * The settings now say which prefix this site uses, as read from wp-config.php.

#### 1.0.1

 * When a backup or restore is cut off, a clear message now says what happened: 
   the request was blocked, the server sent an unexpected page or an error, the 
   connection dropped, the server stopped answering, or progress stalled.

#### 1.0.0

 * First release: resumable backups of the full site or of separate parts, restore
   with a safety backup, schedules and retention.

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**7 小时前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [Czech](https://cs.wordpress.org/plugins/restora/) 、 [Dutch](https://nl.wordpress.org/plugins/restora/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/restora/) 、 [English (US)](https://wordpress.org/plugins/restora/)
   和 [Russian](https://ru.wordpress.org/plugins/restora/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/restora)
 * 标签
 * [backup](https://cn.wordpress.org/plugins/tags/backup/)[database backup](https://cn.wordpress.org/plugins/tags/database-backup/)
   [restore](https://cn.wordpress.org/plugins/tags/restore/)[scheduled backup](https://cn.wordpress.org/plugins/tags/scheduled-backup/)
 *  [高级视图](https://cn.wordpress.org/plugins/restora/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/restora/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/restora/reviews/)

## 贡献者

 *   [ Perforks ](https://profiles.wordpress.org/jbosnakis/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/restora/)