TShopping

 找回密碼
 註冊
搜索
查看: 2847|回復: 0

[問題] cpanel如何備份網站及復原

[複製鏈接]
發表於 2016-4-26 13:16:03 | 顯示全部樓層 |閱讀模式
 
Push to Facebook
whm.png

使用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.

手動備份指令
  1. /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.






 

臉書網友討論
*滑块验证:
您需要登錄後才可以回帖 登錄 | 註冊 |

本版積分規則



Archiver|手機版|小黑屋|免責聲明|TShopping

GMT+8, 2024-10-14 22:30 , Processed in 0.054118 second(s), 25 queries .

本論壇言論純屬發表者個人意見,與 TShopping綜合論壇 立場無關 如有意見侵犯了您的權益 請寫信聯絡我們。

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表