We have a Moodle 3.8.7 server that was compromised.
We've got it in a sandbox and want to backup a specific course using the backup CLI method.
We've been able to backup the course, but each time we back it up it doesn't include grade histories or logs by default.
I've tried to toggle on the following value in the database, but it doesn't seem to take hold as in our non-sandboxed test environment, it doesn't toggle on the setting in the GUI, and thus grade history backup is not included by default in backing up the course.
UPDATE mdl_config_plugins SET value = '1' WHERE name = 'backup_general_histories';
The backup_general_histories_locked is set to 0.
We have a method to get the backup off the sandboxed host, but we don't want to spin up another VM in the sandbox just to toggle the backup general history setting the backup default settings if at all possible.
Does anyone know what else needs to be toggled on for the CLI backup.php to be able to backup grade histories by default?
Thanks in advance for any and all assistance!