配置一个DC备份不成功,检查日志发现有类似这样的信息:Error: 'nsrexecd: SYSTEM error: There is already a machine using the name (client_name). Either choose a different name for your machine, or delete the "NSR peer information" entry for (client_name) on host: (host_name) '...【阅读全文】
所有网站都需要备份,我就写了一份简单地网站备份计划脚本。vim /etc/bak.sh#!/bin/bash# Delete expire file before 11 days.find /home/backup_data -name ecshop* -mtime +11 -exec rm {} \;# (1) set up all the mysqldump variablesUSER=rootPASSWORD="******"OUTPUT="/home/backup_data"DBSERVER=127.0.0.1...【阅读全文】