by Marius S.
Hello Severin,
So basically the line should be: $CFG->forced_plugin_settings = array('backup' => array('backup_auto_max_kept' => 4));
However adding this in config.php and checking Automated backup setup page in Moodle it shows:
Maximum number of backups kept
Defined in config.php
Invalid current value: 4
backup | backup_auto_max_kept
Also I found this old comment (by Mark van Hoek) in Tracker: https://tracker.moodle.org/browse/MDL-61606?focusedCommentId=542345&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-542345
So adding value 3 or 4 will not work because they are not in within the range of this dropdown options (1,2,5,10,20...)?
Thanks,
Marius.
So basically the line should be: $CFG->forced_plugin_settings = array('backup' => array('backup_auto_max_kept' => 4));
However adding this in config.php and checking Automated backup setup page in Moodle it shows:
Maximum number of backups kept
Defined in config.php
Invalid current value: 4
backup | backup_auto_max_kept
Also I found this old comment (by Mark van Hoek) in Tracker: https://tracker.moodle.org/browse/MDL-61606?focusedCommentId=542345&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-542345
So adding value 3 or 4 will not work because they are not in within the range of this dropdown options (1,2,5,10,20...)?
Thanks,
Marius.