Issue Details (XML | Word | Printable)

Key: MDL-17917
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Eloy Lafuente (stronk7)
Reporter: Eloy Lafuente (stronk7)
Votes: 2
Watchers: 4
Operations

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

META: Backup & restore capabilities improvements

Created: 16/Jan/09 04:44 AM   Updated: Yesterday 06:11 PM
Return to search
Component/s: Backup
Affects Version/s: 1.9.4
Fix Version/s: 1.9.8

Issue Links:
Relates

Participants: Dan Marsden and Eloy Lafuente (stronk7)
Security Level: None
QA Assignee: Eloy Lafuente (stronk7)
Difficulty: Moderate
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Right now backup and restore is handled by very simple capabilities. That need to be changed to offer a higher degree of detail, controlling things like logs, users, roll dates... both in backup and restore (separate caps?).

For now these have been talked:

- ability to control backup of users.
- ability to control backup of logs.
- ability to control roll dates in restore (MDL-12922)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) made changes - 16/Jan/09 04:44 AM
Field Original Value New Value
Link This issue blocks MDL-12922 [ MDL-12922 ]
Eloy Lafuente (stronk7) made changes - 16/Jan/09 04:44 AM
Link This issue blocks MDL-12922 [ MDL-12922 ]
Eloy Lafuente (stronk7) made changes - 16/Jan/09 04:45 AM
Link This issue has a non-specific relationship to MDL-12922 [ MDL-12922 ]
Petr Skoda made changes - 16/Jan/09 05:22 AM
Link This issue has been marked as being related by MDL-17918 [ MDL-17918 ]
Dan Marsden added a comment - 16/Jan/09 07:23 AM
it would be nice if this could be extended slightly to control certain parts of user information in the backups

eg to allow users to be backed up, but to remove "email" fields from backups - probably also the "password" field?


Eloy Lafuente (stronk7) added a comment - 16/Jan/09 07:54 AM
Hi Dan,

well... main problem with those fields is that they are required fields... so IMO it isn't possible to keep them out (unless for some sort of anonymous backup ). IMO, by default, teachers shouldn't be able to backup/restore users by default. Or/and we can seed the password or... not really sure. I agree we must address that in some way, 100%. But backupping without password or email... sounds "incomplete" to be functional.

Ciao


Dan Marsden added a comment - 19/Jan/09 09:53 AM
fair enough - I wrote a custom hack to remove password/e-mail and a couple of other fields for OU's incremental backups - they want to ship out course backups to people to install locally and want to keep forum posts etc, but don't want the local installs to contain "private" information..... hence the removal of password and e-mail. - might need to keep it as a hack instead of getting something in core to handle this.

Petr Skoda made changes - 22/Jan/09 02:20 AM
Link This issue has a non-specific relationship to MDL-16658 [ MDL-16658 ]
Petr Skoda made changes - 22/Jan/09 02:21 AM
Link This issue has a non-specific relationship to MDL-13847 [ MDL-13847 ]
Petr Skoda made changes - 22/Jan/09 02:33 AM
Link This issue is duplicated by MDL-9251 [ MDL-9251 ]
Petr Skoda made changes - 22/Jan/09 02:33 AM
Link This issue has a non-specific relationship to MDL-9251 [ MDL-9251 ]
Petr Skoda made changes - 22/Jan/09 02:33 AM
Link This issue is duplicated by MDL-9251 [ MDL-9251 ]
Petr Skoda made changes - 06/May/09 06:21 PM
Fix Version/s 1.9.6 [ 10340 ]
Fix Version/s 1.9.5 [ 10320 ]
Martin Dougiamas made changes - 21/Oct/09 04:17 PM
Fix Version/s 1.9.7 [ 10360 ]
Fix Version/s 1.9.6 [ 10340 ]
Martin Dougiamas made changes - 20/Nov/09 10:51 AM
Assignee Petr Skoda [ skodak ] Eloy Lafuente (stronk7) [ stronk7 ]
Eloy Lafuente (stronk7) added a comment - 24/Nov/09 06:11 PM
This will completed in 1.9.8, with caps to control creation of users and so on... moving...

Eloy Lafuente (stronk7) made changes - 24/Nov/09 06:11 PM
Fix Version/s 1.9.8 [ 10400 ]
Fix Version/s 1.9.7 [ 10360 ]