Restore Full Backup or cpmove File in cPanel Web Host恢复完整备份或cpmove文件中的cPanel Web主机
Web host or web server powered by cPanel control panel has a very convenient feature to easily restore any backups in case of the need of disaster recovery, accidental lose of data or hosting account moving to another server. Web主机或Web伺服器动力的cPanel控制面板有一个非常方便的功能,很容易还原任何备份,在案件的需要,灾难恢复,意外失去的数据或托管帐户移动到另一台服务器。 In cPanel, it’s possible to configure scheduled backup via WHM (WebHost Manager) which save all hosting accounts (unless excluded), MySQL databases and/or configuration files, or full backup of user own account which dumps to user’s root directory as a .tar.gz archive via cPanel interface.在的cPanel ,很可能要设定排定的备份通过的WHM (网页主机服务经理) ,其中保存所有托管帐户(除非除外) , MySQL的数据库和/或配置文件,或完整备份用户自己的帐户,其中堆放到用户的根目录作为一个。 tar.gz存档通过的cPanel界面。
What should you do with the full backup file in case when you really need to use it to restore an account or migrate a hosted website over from old hosting server?您应该做些什么与完整备份文件的情况下,当你真的需要用它来恢复一个帐户或迁移主办的网站从旧主机服务器?
To restore a full backup file, simply move the file (usually named as username.tar.gz or cpmove-username.tar.gz) to /home directory (or /usr/home, /web, /home2, /home3, /root, /usr directory if applicable).恢复完整备份档案,只需将档案移至(通常称为username.tar.gz或cpmove - username.tar.gz ) / home目录(或/ usr /主页, /网站, / home2 , / home3 , /根, / usr目录如适用) 。 Then login to cPanel WHM (WebHost Manager), and click on Restore a Full Backup/cpmove file link under the Backup section.然后登录到的cPanel的WHM (网页主机服务经理) ,并点击还原完整备份/ cpmove文件链接下备份一节。 Enter the user name for the account to restore in the text field after “Enter the username for the account you wish to restore”.输入使用者名称为帐户,以恢复在文本字段后, “输入使用者名称为帐户你想恢复” 。 Finally click on Restore button and wait for the restoration process to complete.最后点击还原按钮,并等待恢复过程才能完成。
Alternatively, administrator can also login to the server via SSH as root, and then run the following command in shell:另外,管理员也可以登录到该服务器通过SSH ,以root的身份,然后运行以下命令在shell :
/scripts/restorepkg username /脚本/ restorepkg用户名
There is no need to create the account prior to restore as the account will be automatically created if it does not exist.有没有必要建立帐户前恢复作为的帐户将被自动创建,如果它不存在。 All the user files and folders including databases will be restored to the correct locations.所有用户的文件和文件夹包括数据库将恢复到正确的位置。 There is not need to untar or extract the backup file.有没有必要untar或提取备份文件。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article英文原版的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 . 。
Related Articles相关文章
- How to Change Hostname in cPanel Web Host如何改变主机的cPanel在Web主机
- cPanel Invalid License File After Changing Hostname Error的cPanel无效的许可文件后,改变主机的错误
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache的地位(的WHM服务器的地位)在网页主机的cPanel经理回报的空白页
- Spb Backup Review by MTekk国家邮政局备份审查mtekk
- HostDime Web Hosting Service Reviews hostdime Web托管服务评语
- Acronis True Image Home 9 Review by ComputerAct!ve Acronis True Image Home的9审查computeract !维生素E
- How to Add IP Addresses to Server with cPanel WebHost Manager (WHM)如何添加IP地址的服务器的cPanel网页主机服务经理(的WHM )
- Apache Warn NameVirtualHost *:80 Has No VirtualHosts Error When Start阿帕奇警告namevirtualhost * : 80没有virtualhosts时发生错误开始
- cPanel WHM Failed to Receive Status Information From Apache Error的cPanel的WHM没有收到状态信息从Apache的错误
- Certificate for cPanel, Courier-Imapd/Pop3d or Exim Will Expire in Less Than 30 Days Error证书的cPanel , courier-imapd/pop3d或exim将届满,在不到30天的错误


















