求助于各位大神,自动备份还是有问题!
已经查了官方网站的文档了,也查看了IT运维管理社区里关于自动备份的一些帖子,但是数据的定期备份还是有问题,手动执行备份目前没有什么问题。不得已再次发帖求教各位大神。
我已经在crontab计划任务中是这样写的: */5 * * * * apache /usr/bin/php /var/www/html/itop/webservices/cron.php >>/var/log/itop-cron.log 2>&1 好像没有效果 另外,官方文档中所提到的"params.txt"里的所写的用户名及密码: # This is a parameter file # # If a parameter is given both in the file and in the arguments, # then the value given as argument is retained # # Authentication auth_user = qwertyuiop auth_pwd = ded!catedL0g1n # My web service size_min = 20 # Megabytes time_limit = 40 # Minutes 这里的用户名是指的是 什么用户名, 是itop的登录用户名吗? 另外在itop的主配置文件正, "itop-backup"部分的内容是这样的: 'itop-backup' => array ( 'mysql_bindir' => '', 'week_days' => 'monday, tuesday, wednesday, thursday, friday', 'time' => '23:30', 'retention_count' => 5, 'enabled' => true, 'debug' => false, ), 我将 "mysql_bindir"的值设置为了"/usr/bin",好像也不起作用, 计划备份部分仍然没有备份档案:
我已经在crontab计划任务中是这样写的: */5 * * * * apache /usr/bin/php /var/www/html/itop/webservices/cron.php >>/var/log/itop-cron.log 2>&1 好像没有效果 另外,官方文档中所提到的"params.txt"里的所写的用户名及密码: # This is a parameter file # # If a parameter is given both in the file and in the arguments, # then the value given as argument is retained # # Authentication auth_user = qwertyuiop auth_pwd = ded!catedL0g1n # My web service size_min = 20 # Megabytes time_limit = 40 # Minutes 这里的用户名是指的是 什么用户名, 是itop的登录用户名吗? 另外在itop的主配置文件正, "itop-backup"部分的内容是这样的: 'itop-backup' => array ( 'mysql_bindir' => '', 'week_days' => 'monday, tuesday, wednesday, thursday, friday', 'time' => '23:30', 'retention_count' => 5, 'enabled' => true, 'debug' => false, ), 我将 "mysql_bindir"的值设置为了"/usr/bin",好像也不起作用, 计划备份部分仍然没有备份档案: