在某些情况下,我们需要手动执行WHM的备份操作,在老版本中,只需要在SSH中输入以下即可:
root@lcoalhost [~]# /scripts/cpbackup
但是自从cPanel引入了全新的备份系统后,如果你禁用了Legacy Backup System并启用了新的,运行该命令会提示:
root@localhost [~]# /usr/local/cpanel/scripts/cpbackup
[cpbackup] Backup Not Enabled (This can be adjusted in WHM => Backup => Legacy Backup Configuration)
这是由于执行了错误的命令所致,但cPanel官方未做特别说明。经过挖掘,发现需要换一个脚本即可解决:
root@localhost [~]# /usr/local/cpanel/bin/backup
info [backup] Validating remote transports
info [backup] Process started in background.
info [backup] Log file: /usr/local/cpanel/logs/cpbackup/TIME.log
另外,在该命令后追加--force可执行强制备份,跳过非关键错误。
来自【青藤空间】,原文短链接:http://go.green-vine.net/qhw63
Comments NOTHING