[WordPress] 外掛分享: CYAN Backup

首頁外掛目錄 › CYAN Backup
WordPress 外掛 CYAN Backup 的封面圖片
300+
安裝啟用
★★★★
4.1/5 分(11 則評價)
133 天前
最後更新
問題解決
WordPress 2.9+ v2.5.5 上架:2014-02-09

內容簡介

此外掛可根據設定的排程,將整個 WordPress 網站及其資料庫備份為 ZIP 檔案。支援遠端儲存選項包括 FTP、SFTP 和 FTPS。

CYAN Backup 是基於優秀的 Total Backup 插件進行裁剪、修改的產物,原插件作者為 wokamoto。

目前支援排程包括每小時、每天、每週和每月,並可設定間隔時間(例如每 4 小時或每 6 週等)。

所需 PHP5 版本。

本地化

CYAN Backup 已完全準備好翻譯為任何已支援的語言,如果您已經將其翻譯為您的語言,請讓我知道。

使用

設定存檔路徑,指定備份檔案的目錄。必須讓網頁伺服器具有可寫資訊,但不應通過網站訪問,因為黑客可能猜測文件名並複製您的資料庫。如果您必須將備份放在 WordPress 目錄(或網頁伺服器根目錄)中的目錄中,請確保通過 .htaccess 或其他方式阻止外部訪問。預設路徑為由 sys_get_temp_dir() 回傳的暫存檔案目錄。

設定排除的路徑,該路徑指定您不想備份的目錄。預設排除的目錄包括:

wp-content/cache/:由 WP Super Cache 等使用的快取文件目錄。
wp-content/tmp/:DB Cache Reloaded Fix 等使用的快取文件目錄。
wp-content/upgrade/:由 WordPress 升級功能使用的暫存檔案目錄。

如果您將儲存庫路徑配置在 WordPress 目錄下方,您必須將其添加到排除目錄列表中。

若要定期備份,請啟用並設定排程器。排程選項包括:

每小時(每X小時備份站點,例如每隔12小時執行一次備份,一天執行兩次)。
每天(在特定時間備份站點,每X天備份一次)。
每週(每隔X週在特定日期和時間備份站點,例如每兩週的第二個星期二早上4點備份)。
每月(每X個月的特定日期和時間備份站點,例如每月第一天早上4點備份)。

您還可以啟用舊備份的自動修剪,設置要保留的備份文件數。

備份站點可能需要一段時間,您需要確保 PHP 和 Web 伺服器已配置允許備份腳本運行足夠的時間以完成備份。

完成備份後,您可以從備份頁面中的鏈接下載備份文件。您可以勾選備份列表中的一個或多個方塊,然後點擊刪除按鈕刪除舊備份文件。

DB 的備份文件包含在 ZIP 文件中,文件名為 {WordPress 目錄名稱}.yyyymmdd.hhmmss.sql。

路線圖

2.5 – 支援 Dropbox。
3.0 – 支援還原(Restore)。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.5.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「CYAN Backup」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Backup your entire WordPress site and its database into a zip file on a schedule. Remote storage options include FTP, SFTP and FTPS.
CYAN Backup is a fork of the great Total Backup by wokamoto.
Currently support schedules are hourly, daily, weekly and monthly with intervals for each (for example you could select a schedule of every 4 hours or every 6 weeks, etc.).
PHP5 Required
Localization
CYAN Backup is fully ready to be translated in to any supported languages, if you have translated into your language, please let me know.
Usage
Configure the archive path which specifies the directory to store your backups to. This must be writeable by the web server but should not be accessible via the web as a hacker could guess the filename and get a copy copy of your database. If you must place the backups in a directory inside of the WordPress directory (or web server root) make sure to block extenal access via .htaccess or other means. The default path is the directory for the temp files returned by sys_get_temp_dir().
Configure the excluded paths which specify the directories you don’t want to back up. The default excluded directories are:

wp-content/cache/ : the directory for the cache files used by WP super cache and so on.
wp-content/tmp/ : the directory for the cache files used by DB Cache Reloaded Fix so on.
wp-content/upgrade/ : the directory for the temp files used by the WordPress upgrade function.

If you have configured your archive path below the main WordPress directory you MUST add it to the list of excluded directories as well.
Activate and configure the scheduler if you want to backup on a regular basis. Schedule options include:

Hourly (Backup your site every X hours, an hourly backup with an interval of 12 would run a backup twice a day).
Daily (Backup your site every X days at a specific time.
Weekly (Backup your site every X weeks at a specific day and time, for example every second Tuesday at 4am).
Monthly (Backup your site every X months on a specific day and time, for example the 1st day of the month at 4am).

You can also enable auto pruning of old backups by setting the number of backup files you want to keep.
Backing up your site can take a while, you will want to ensure your PHP and webserver are configured to allow for the backup script to run long enough to complete the backup..
Once a backup is complete you can download the backup files from the links in Backup page. You can delete old backup files by checking one or more boxes in the backup list and then clicking the Delete button.
The backup file of DB is included in the zip file as {the directory name of WordPress}.yyyymmdd.hhmmss.sql.
Road Map

2.5 – Dropbox support
3.0 – Restore support

延伸相關外掛

文章
Filter
Mastodon