初次安装后备份不能用的解决方法
本帖最后由 JGFRO 于 2019-8-6 01:58 编辑安装后不会自动配置备份,所以不能用,提示找不到mysqldump,解决方法就是修改配置文件
C:\xampp\htdocs\itop\conf\production\config-itop.php
找到这段
'itop-backup' => array (
'mysql_bindir' => '',
'week_days' => 'monday, tuesday, wednesday, thursday, friday',
'time' => '23:30',
'retention_count' => 5,
'enabled' => true,
'itop_root' => '',
'itop_backup_incident' => '',
),修改为
'itop-backup' => array (
'mysql_bindir' => 'C:\\xampp\\mysql\\bin\\',
'week_days' => 'monday, tuesday, wednesday, thursday, friday',
'time' => '23:30',
'retention_count' => 5,
'enabled' => true,
'itop_root' => '',
'itop_backup_incident' => '',
),重启apache和mysql,就可以看到识别出来了,并且可以备份了
楼主自动备份行吗?就是上面那个定时备份,每晚自动备份了吗?
页:
[1]