本帖最后由 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,就可以看到识别出来了,并且可以备份了
|