使用CPANEL常常會遇到更換主機問題
當然網站每天的備份就變得很重要
所以先到WHM下搜尋backup
找到 Backup Configuration
進入後
Backup Status 選 Enable
This option will enable or disable backup activity.
Backup Type 選 Compressed
This option saves all of your information, and uses less disk space, but it takes more time to complete.
Maximum destination timeout in seconds
Enter the number of seconds the backup will attempt to run. If the backup attempt is not successful in this time, it will timeout and stop. 預設 2700S
Maximum restore timeout in seconds
預設21600S
Enter the number of seconds the restore will attempt to run. If the restore attempt is not successful in this time, it will timeout and stop.
Scheduling and Retention Backup Daily
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
可全部勾選
Retain Daily backups.
Backup Weekly
可不選
Backup Monthly
可不選
Files Backup Accounts
Select Users
點擊進入全選
This option allows root users to assign a specific backup system to each user.
Backup Suspended Accounts Disable Enable
This option allows you to enable or disable backups for suspended accounts. 備份暫停帳戶
可關閉
Backup Access Logs Disable Enable
可關閉
Backup Bandwidth Data Disable Enable
打開
Use Local DNS Disable Enable
When enabled this option confines the domain lookup to this server only, and does not query the DNS cluster. 打開
Backup System Files
This option is not needed for account restoration, but it is needed for server restoration. Enabling this option is highly recommended. 勾選
DatabasesBackup SQL Databases Per Account Only Entire MySQL Directory Per Account and Entire MySQL Directory
At least “Per Account” is needed to use the restore feature. 數據庫備份SQL數據庫每只佔整個mysql目錄下每個帳戶和整個mysql目錄下
至少“每個帳戶”是需要使用恢復功能。
選Per Account and Entire MySQL Directory
Configure Backup DirectoryDefault Backup Directory
備份路徑可輸入 /backup/cpbackup
You must enter an absolute path to the local backup directory.
NOTE: Filesystem quotas are enabled. To prevent performance degradation, the system automatically disables quotas on non-root filesystems that contain a backup destination.
手動備份指令- /usr/local/cpanel/bin/backup
複製代碼
Retain backups in the default backup directory.
保留默認的備份目錄備份。
This option retains backups in the default local backup directory, even after the system transfers the backups to another destination. If this option is not selected, backups will be deleted after being moved to another destination.
Mount Backup Drive as Needed. Disable Enable
關閉
This option requires a separate drive or other mount point.
|