Linux 软件免费装

CloudScale Backup & Restore

开发者 andrewjbaker
更新时间 2026年6月2日 22:42
PHP版本: 8.1 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

backup restore maintenance mode database scheduled backup

下载

3.2.548 3.2.526

详情介绍:

Most backup plugins fail on large or busy sites. They hit PHP memory limits, execution timeouts, or external storage quotas. CloudScale Backup & Restore is built differently. It uses a pure PHP streaming implementation for database dumps and restores that reads the database in chunks and never loads the whole thing into memory at once, so it works reliably on any WordPress host without requiring server-level tools. What it backs up Choose any combination of: Each backup is packaged as a single .zip file with a descriptive filename that reflects exactly what it contains. Key features Automatic backups are off by default. Run your first backup manually to confirm everything works on your server, then configure a schedule if you need one. Reliable PHP-native implementation The plugin uses a pure PHP streaming implementation for all database operations: no server-level tools required. For database backup: For database restore: The System Info card on the plugin page shows the backup and restore method in use on your server. Backup file naming Backup filenames describe their contents exactly, making them easy to identify without opening them: Restore safety Clicking Restore DB opens a confirmation modal that:
  1. Shows the exact backup file name and creation date you are restoring from
  2. Displays a warning box explaining what will happen step by step
  3. Requires you to tick a checkbox: "I have taken a server snapshot and understand this will overwrite the live database"
  4. Only enables the Restore button after that checkbox is ticked
During restore, WordPress's native .maintenance file is created so visitors see the standard maintenance page. It is always removed when restore finishes, whether the restore succeeded or failed. The plugin header shows a live badge indicating whether the site is online or in maintenance mode. Backup zip contents Each zip includes a backup-meta.json with metadata: plugin version, creation timestamp, WordPress version, site URL, table prefix, and which components were included. This makes it easy to verify a backup without restoring it.

安装:

Option 1: WordPress admin (recommended)
  1. Download cloudscale-backup.zip
  2. In your WordPress admin, go to Plugins > Add New Plugin > Upload Plugin
  3. Select the zip file and click Install Now
  4. Click Activate Plugin
  5. Go to Tools > CloudScale Backup & Restore
Option 2: Manual via FTP/SFTP
  1. Unzip cloudscale-backup.zip
  2. Upload the cloudscale-backup folder to /wp-content/plugins/
  3. Activate via Plugins > Installed Plugins
  4. Go to Tools > CloudScale Backup & Restore

屏幕截图:

  • Manual backup panel with individual component checkboxes and live progress bar, plus the full backup history table showing stored backups with type badges, age, and Download / Restore DB / Delete actions.

升级注意事项:

1.0.0 Initial release.

常见问题:

Where are backups stored?

In a dedicated cloudscale-backups/ folder inside your WordPress uploads directory. This folder is created automatically on activation and protected with an .htaccess deny-all rule. Download backups using the Download button in the admin panel, which uses a nonce-secured handler.

Will it time out on large sites?

No. The plugin sets set_time_limit(0) and ignore_user_abort(true) for all backup and restore operations. The PHP streaming implementation reads data in small chunks so memory usage stays flat regardless of database size. Check the System Info card for details about your server's configuration.

What PHP version is required?

PHP 8.1 or higher. The plugin uses typed parameters, match expressions, str_contains(), and first-class callable syntax introduced in PHP 8.0/8.1.

Is ZipArchive required?

Yes. The ZipArchive extension is needed to create and read backup zip files. It is bundled with PHP on the vast majority of shared hosting environments. If it is missing, contact your host and ask them to enable the zip PHP extension.

How does the scheduling work?

The plugin registers a custom WordPress cron interval based on the number of days you configure. For reliable scheduling, your server should have a real system cron job pointing at wp-cron.php rather than relying on WordPress's visitor-triggered pseudo-cron. Most managed WordPress hosts configure this automatically. Your server's current time and timezone are shown on the settings page so you can pick the right hour.

Can I restore just the database and keep my current media?

Yes. The restore function extracts database.sql from the backup zip and imports it. Media, plugin, and theme files inside the zip are not automatically restored. You can unzip the backup manually and extract only the folders you need. This prevents accidentally overwriting files you have added since the backup.

Can I restore on a different server or after a domain change?

Yes. The restore imports the SQL as-is. If the database contains hardcoded URLs from the old domain, run a search-replace using WP-CLI after restoring: wp search-replace 'olddomain.com' 'newdomain.com' --path=/path/to/wordpress

The restore failed. Is the site broken?

The plugin removes maintenance mode even when a restore fails, so your site will be accessible. Check the plugin page to confirm the maintenance badge is gone. Errors are logged to your server's PHP error log. If the database is in a partial state, restore from a server snapshot or use phpMyAdmin or Adminer to assess the database directly.

Can I trigger a backup from WP-CLI or a system cron job?

Yes. Use WP-CLI to trigger a backup from the command line: wp eval 'csbr_create_backup(true, true, true, true); csbr_enforce_retention();' --path=/path/to/wordpress Adjust the four boolean arguments ($include_db, $include_media, $include_plugins, $include_themes) as needed.

What is inside the backup zip?

Each zip may contain:

  • database.sql: complete SQL dump of all WordPress tables
  • uploads/: full media uploads directory tree
  • plugins/: full plugins directory tree
  • themes/: full themes directory tree
  • backup-meta.json: metadata including plugin version, creation timestamp, WordPress version, site URL, table prefix, and which components were backed up

Can I use this to migrate my site to a new host?

Yes. Run a full backup on the old site, install WordPress on the new host, install and activate this plugin, then use Restore from Upload to import the database. Copy the uploads/, plugins/, and themes/ folders manually from the zip if needed, or use the backup of those folders.

更新日志:

3.2.548 3.2.421 3.2.257 3.2.1 3.2.0 2.74.2 2.74.1 2.74.0 1.0.0