Linux 软件免费装
Banner图

CloudScale Backup & Restore

开发者 andrewjbaker
更新时间 2026年11月25日 19:36
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

backup migration restore cloud backup disaster recovery

下载

3.2.886 3.2.898 3.2.856 3.2.848 3.2.594 3.2.862 3.2.604 3.2.857 3.2.863 3.2.526 3.2.653 3.2.858 3.2.860 3.2.548 3.2.600 3.2.605 3.2.654 3.2.902 3.2.617 3.2.704 3.2.817 3.2.832 3.2.639 3.2.833 3.2.627 3.2.637 3.2.698 3.2.836 3.2.844 3.2.852 3.2.854 3.2.864 3.2.868 3.2.592 3.2.865 3.2.866 3.2.869 3.2.870 3.2.871 3.2.885 3.2.846 3.2.887 3.2.700 3.2.897 3.2.899 3.2.900 3.2.901

详情介绍:

A backup is only worth the restore behind it. CloudScale Backup & Restore is built for the day something goes wrong: a multi-gigabyte site, a dead server, a plugin update that takes the site down. It backs up to every destination you choose at once, restores your whole site in one click, and can keep a second server ready to take over. No size limit, no destination limit, no paid restore button. Why CloudScale Where Backups Go Every cloud and own-server destination gets the same retention, resumable transfers, one-click restore and Automated Restore. An AMI snapshot is restored from its own card, as a whole server. Backup: Everything, Any Size Pick any combination; it is packaged into one .zip whose name says what it holds, with a backup-meta.json inside: Restore: One Click, Server-Side Restoring a Hacked Site A plain restore of a hacked site is usually re-hacked within hours: it puts back the vulnerable plugin and leaves stolen credentials working. Tick This site was hacked on a full restore and, before visitors return, Protected Mode: It stays on until you complete an exit checklist, with no timer that could reopen a site you have not finished repairing. Disaster Recovery and Failover Staging Clones Clone any backup into a separate WordPress install on the same server, with its own directory and database. URLs are rewritten everywhere, including serialized data and JSON. It refuses this site's own directory or database, and can refresh after each scheduled backup. Security WP-CLI wp csbr restore, wp csbr cloud-list, wp csbr cloud-pull, wp csbr sync-from-cloud, wp csbr auto-restore, wp csbr role and wp csbr doctor let a system timer keep a standby in sync without WP-Cron. Managed Cloud Don't have a cloud account? CloudScale Managed Cloud is $5/month for 750 GB on Amazon S3 Glacier Instant Retrieval, in ten regions worldwide: the one nearest your site by default, or the one you choose. Instant Retrieval means a restore downloads straight away, with no archive thaw. Your own destinations are always free. Automatic backups are off by default. Run your first backup by hand to confirm your server, then switch on a schedule. Full documentation: help.cloudscale.consulting.

安装:

  1. In WordPress admin go to Plugins > Add New Plugin, search for CloudScale Backup & Restore, then click Install Now and Activate
  2. Open Tools > CloudScale Backup & Restore
  3. Click Back up my site now to take your first backup
  4. Optional: connect S3, Google Drive, Dropbox, OneDrive, SFTP/FTP, WebDAV or Managed Cloud, then turn on a schedule
To install by hand, upload the cloudscale-backup folder to /wp-content/plugins/ and activate it under Plugins > Installed Plugins.

屏幕截图:

  • Manual backup with per-component checkboxes and a live progress bar, and the backup history with type badges, age, and Download, Restore and Delete actions.

升级注意事项:

3.2.858 Uninstall now cleans up the plugin's state files; your backups are kept. Also includes the "Full restore" label and cloud upload retries. 3.2.857 The restore option "Full database" is now called "Full restore": it has always restored the backup's files as well as its database. Includes chunk retries for OneDrive, Dropbox and Google Drive uploads.

常见问题:

Is restore really free?

Yes. Full restore, selective table restore, single post restore, cloud restore, staging clones and automated standby restore are all in the free plugin. Only Managed Cloud storage is paid; your own cloud accounts cost nothing extra.

Which storage can I back up to, and how do I set it up?

Any of the destinations under Where Backups Go, several at once. Each has its own card on the Cloud Backups tab with Test Connection and Diagnose buttons. Step-by-step setup for every provider, including where to create the bucket and key and which region and endpoint to enter: https://help.cloudscale.consulting/plugin-help/backup-restore/s3/ (Amazon S3 and S3-compatible), https://help.cloudscale.consulting/plugin-help/backup-restore/sftp/ and https://help.cloudscale.consulting/plugin-help/backup-restore/webdav/.

Will it work on a large site?

Yes. The database is dumped in 500-row pages, so memory stays flat whatever its size. Backups and restores run without PHP's time limit, large uploads are sent in retried chunks, and an S3 or Managed Cloud download that stops part way resumes. A backup killed mid-run is picked up and finished or restarted. The System Info panel shows your server's limits and the methods in use.

Will a backup slow my site down or use all my bandwidth?

Not if you set Backup Limits on the Local Backups tab; both are off by default. A maximum CPU temperature pauses compression until the processor is 5°C cooler, up to 5 minutes at a time and 30 minutes per backup, so a host that never cools still gets its backup. This needs PHP 8.0 or newer and a host that exposes its temperature, and the card says when yours does not. A maximum share of your stated upload speed spaces out uploads to S3, Managed Cloud, Google Drive, Dropbox and OneDrive. It limits the average, not the peak, and does not cover SFTP, FTP or WebDAV.

Where are backups stored?

On your server in wp-content/uploads/cloudscale-backup-<random>/. The random part makes the folder name unguessable, and it carries deny rules for Apache, nginx and IIS plus an index.php and 0700 permissions. Download any backup from the admin with the Download button. Copies go to every cloud destination you enable.

Where are Managed Cloud backups stored?

In one of ten Amazon S3 regions. Automatic picks the region nearest your site by measuring it; you can also choose one, for example to keep data in Europe. Changing region sends new backups there; backups in the old region expire within 90 days.

Can a hacked site erase its Managed Cloud backups?

No. A compromised site can remove a backup from the list, but storage keeps the deleted copy for 30 days and neither your site nor the CloudScale broker can erase it. Contact support to recover it. After those 30 days it is permanently deleted, so a backup that reaches the 90-day limit is erased by day 120.

Can I restore only the database, or only some tables?

Yes. In the Restore window choose Full restore (files, then database), Specific tables only (just the tables you tick) or Single post or page. Upload a .sql file to restore a database only. On the command line, wp csbr restore takes --db-only, --files-only and --components=<list>.

Can I migrate to a new host or domain?

Yes. Install WordPress and this plugin on the new host, then restore the backup from an upload or straight from your cloud storage. Files and database are both restored. If the domain changed, run wp search-replace 'old.example' 'new.example' --all-tables afterwards. To copy a site onto the same server under a new URL, use Clone Targets, which rewrites URLs for you.

How does scheduling work?

Choose the days of the week and the time of day; cloud copies run a set delay after the local backup. For reliable timing, point a real system cron job at wp-cron.php instead of relying on visitor traffic. Your server's time and timezone are shown next to the schedule.

How do I set up a standby or disaster-recovery copy of my site?

Install WordPress and this plugin on the second server, then open the Standby & DR tab there (never on the live site). Choose a hot standby or a refreshed copy, label its alerts, type MAKE THIS A COPY and press Apply. On the Automated Restore tab connect the cloud storage the live site backs up to, choose the site to copy from, and switch on the schedule. The checklist shows anything still missing. A hot standby also needs something outside WordPress to move your DNS; the plugin's GitHub repository has a Cloudflare script for that.

How do I clone my site to a staging copy on the same server?

Create an empty directory the web server can write to, with a wp-config.php naming an empty database (or one your database user can create). Take a backup that includes WordPress core files. On the Clone Targets tab add the directory, its URL and that wp-config.php, press Verify, then Clone Now. Everything in the target is replaced and every URL is rewritten. The wp-config.php must hold literal database values, and cloning needs the PHP mysqli extension. A clone is a complete copy, including mail settings and scheduled tasks, so block outgoing email on it before you browse it. Hook csbr_clone_post_restore to run your own steps afterwards.

What happens if a restore fails?

Maintenance mode is removed even when a restore fails, including on a PHP fatal or out-of-memory error, and you are alerted with the reason. The restore result lists anything that could not be written. There is no automatic rollback of a partly restored database, so take a server snapshot first (the Restore window asks you to confirm you have) and restore again or from that snapshot.

Can I run backups and restores from WP-CLI or cron?

Yes. wp csbr restore <file> restores a local backup, wp csbr cloud-pull --newest downloads the newest S3 backup, wp csbr sync-from-cloud pulls and restores in one step, and wp csbr auto-restore runs a standby's configured restore. Run wp help csbr for every option.

Does it work on WordPress multisite?

No. A restore would overwrite every site in the network, while each site's own administrator holds the permission its screens check. On a multisite network the plugin shows a notice and does nothing else.

Do I need ZipArchive or a recent PHP?

PHP 8.1 or newer and the PHP zip extension, which nearly every host includes. AES-256 encryption needs a zip extension built with encryption support; the plugin tells you if yours is not.

What is inside the backup zip?

The parts you chose: database.sql, the uploads, plugins, themes and other folders, plus backup-meta.json, which records the plugin and WordPress versions, site URL, table prefix and components, so you can check a backup without restoring it.

Which third-party libraries are bundled?

Two, both under the MIT licence and used only for SFTP: phpseclib 3.0.57 (https://phpseclib.com) and paragonie/constant_time_encoding 3.1.3 (https://github.com/paragonie/constant_time_encoding). They are renamed under the CSBR_Vendor namespace so they cannot clash with another plugin's copy. Licence texts are in vendor/.

Does the plugin contact help.cloudscale.consulting?

No. The plugin's header links to its help pages there. It is an ordinary link the administrator may choose to open; the plugin itself never requests that host and sends it no data.

What files does the plugin write outside its own folder?

The Automatic Crash Recovery feature writes a single file outside the plugin folder when it is enabled: wp-content/fatal-error-handler.php. This is a WordPress-recognised drop-in file (documented in the WordPress Developer Handbook under get_dropins()). WordPress core checks for this file on every request; if present, it replaces the default fatal-error screen with a custom handler. The plugin uses this mechanism to show a branded recovery page to visitors while a crash is being fixed, instead of a blank white screen. The file is written using the WordPress Filesystem API (WP_Filesystem). It is only written when the feature is enabled, only overwritten if it was written by this plugin (identified by an internal marker), and is deleted when the feature is disabled or the plugin is uninstalled. No personal data is stored in this file. The plugin also writes the following. Uninstalling removes them, except where noted:

  • wp-content/uploads/cloudscale-backup-<random>/ - the backup archives themselves, plus an .htaccess, a web.config and an index.php that block public access to them. The directory name carries a per-site random token because a fixed, guessable name meant sequentially-named archives could be downloaded by anyone who guessed a filename. Kept on uninstall so a reinstall or a manual restore can still use your backups; delete the folder yourself if you no longer want them. The token is kept in wp-content/csbr-state/dir-token (with the same deny rules), which also stays so a reinstall finds the folder.
  • wp-content/csbr-state/ - the plugin's hardened state directory: the automatic restore schedule, the backup run lock and the crash-recovery configuration. Removed on uninstall, apart from dir-token and its deny rules (above).
  • wp-content/csbr-failover-mode.json, csbr-site-id.json and csbr-restore-ledger.json - small markers for the standby, failover and restore features, kept outside the database because a restore replaces the database. Removed on uninstall.
  • wp-content/csbr-site-role.json and wp-content/cloudscale-alert-env-label.json - the site's role (primary or standby) and its alert label. Kept on uninstall, because the other CloudScale plugins read them too; delete them by hand if no CloudScale plugin remains.
  • wp-content/maintenance.php and wp-content/csbr-restore-progress.json - the visitor page and progress file shown while a restore runs, removed when it ends. Uninstall removes maintenance.php only if it is this plugin's copy.
  • wp-content/csbr-secrets.php - cloud storage credentials, the licence key and the backup encryption password, held outside the database so they are not carried inside the database dumps this plugin creates. It begins with a PHP exit guard so it cannot be read over HTTP, is written 0600, and is excluded from every backup. A lock file and a short-lived temporary file sit alongside it during a write.
  • wp-content/cloudscale-backup-par.json - the Automatic Crash Recovery state file, recording which plugins are being monitored.
  • wp-content/csbr-state/csbr-auto-restore.json - on a standby site only, the automatic restore schedule and the source it pulls from. The directory carries the same deny-all rules as the backup directory, so the file is not readable over HTTP. Installs upgrading from an earlier version have their existing wp-content/csbr-auto-restore.json moved here automatically.
  • <WordPress root>/.maintenance - WordPress's own maintenance-mode file, written only while a restore is running and removed when it finishes or fails. This is the mechanism WordPress itself uses during core updates.
  • A temporary staging directory under the system temp path while a backup is built or a restore is unpacked, deleted when the operation ends.
  • wp-content/csbr-state/plugin-auto-recovery/ - Automatic Crash Recovery only: a copy of a plugin taken just before WordPress updates it, so a bad update can be rolled back. It is removed when the monitoring window closes and otherwise after 72 hours, and on uninstall. It sits outside the uploads folder because it holds PHP, and it carries deny rules.
  • Clone Targets only, and only after an administrator adds a target and presses Clone Now or enables its schedule: a complete WordPress install (core, plugins, themes, uploads and the wp-config.php the administrator named) is written into the directory the administrator chose for that target, which is normally outside wp-content, and the tables in that target's own database are dropped and recreated. It never writes to this site's own directory, and no script is generated or run. The target list is stored in the csbr_clone_targets option.
No personal data is stored in any of these files beyond what the site itself already holds.

更新日志:

3.2.902 3.2.901 3.2.900 3.2.899 3.2.898 3.2.897 3.2.895 3.2.894 3.2.891 3.2.890 3.2.889 3.2.887 3.2.886 3.2.885 3.2.884 3.2.879 3.2.878 3.2.877 3.2.876 3.2.875 3.2.874 3.2.873 3.2.872 3.2.871 3.2.870 3.2.869 3.2.868 3.2.866 3.2.865 3.2.864 3.2.863 3.2.862 3.2.861 3.2.860 3.2.858 3.2.857 3.2.856 3.2.855 3.2.854 3.2.852 3.2.848 3.2.847 3.2.846 3.2.845 3.2.844 3.2.843 3.2.842 3.2.841 3.2.840 3.2.838 3.2.836 3.2.835 3.2.833 3.2.832 3.2.830 3.2.819 3.2.818 3.2.817 3.2.816 3.2.815 3.2.814 3.2.813 3.2.812 3.2.809 3.2.806 3.2.805