Issue Details (XML | Word | Printable)

Key: MDL-13115
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Eloy Lafuente (stronk7)
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Backup doesn't respect the users=none setting at all

Created: 24/Jan/08 04:50 AM   Updated: 25/Jan/08 05:10 AM
Component/s: Backup
Affects Version/s: 1.8, 1.9, 2.0
Fix Version/s: 1.8.5, 1.9, 2.0

Issue Links:
Dependency
 

Participants: Eloy Lafuente (stronk7)
Security Level: None
Resolved date: 25/Jan/08
Affected Branches: MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
Fixed Branches: MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE


 Description  « Hide
I was playing with MDL-10721 when I've detected that the backup_users = none setting isn't respected by a lot of parts of backup.

Correctly, the <USERS> section is missing in the backup file, but:

  • User grades are exported.
  • Activities user info are exported (responses, modules...)
  • Header info of activities show USERINFO = yes, while it should be no!

This causes backup to export a lot of unneeded data, spending a lot of extra time and making difficult to compare scheduled backups and manual backups, so I'll try this first.

Ciao



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) added a comment - 24/Jan/08 09:53 AM
Now the backup_users = none is respected and populated to the backup configuration of each module. So we are avoiding the output of all the user-related information from activities, as desired!

Anyway, some things must still be checked:

  • Grades
  • Roles assignments

Tomorrow more. Ciao


Eloy Lafuente (stronk7) added a comment - 25/Jan/08 04:10 AM
Now roles assignments are only exported for target users.

Going to check the grades now.


Eloy Lafuente (stronk7) added a comment - 25/Jan/08 05:09 AM
Done for grade_grades and grade_grades_history

It seems that there are some remaining places (like events or scales). But looking restore, they have worked being reassigned to admin if original user isn't there on restore. I'll keep that behaviour for now.

Closing this. Ciao