User Restore

Administration tool ::: tool_userrestore
Maintained by Sebsoft BV, Rogier van Dongen
The Sebsoft User Restore Plugin offers you the possibility to restore user accounts that were deleted from moodle.

User Restore 3.0.0 (build 2017050100)

Moodle 3.0, 3.1, 3.2, 3.3
Released: Friday, 12 May 2017, 7:39 PM
SEBSOFT USERRESTORE PLUGIN

The Sebsoft User Restore Plugin offers you the possibility to restore user accounts
that were deleted from moodle.

When the plugin has been installed, you can select a number of user accounts to restore and optionally
send an email informing them their accounts have been restored.

This plugin takes the following into account:
- Users to be restored are checked on e-mail:
if an e-mail address already exists for an active account, this user will not be restored.
- Users to be restored are checked on username:
if an username already exists for an active account, this user will not be restored.
- Users to be restored are checked on MNET host:
if the MNET host of the account to be restored is not the locally configured one, this user will not be restored.

Important note:
Moodle removes ALL relevant data upon deleting a user account, and only the record in the
user table itself remains. This utility can't do anything about this and is only capable of restoring the
record from the user table.

Important note for moodle 2.7 and up:
Before Moodle 2.7 there is NO way we can retrieve all information. However, with Moodle 2.7 and the new
event logging tables, the original user information is stored in the event data. Therefore, from Moodle 2.7
onwards, this plugin will try and restore the original user information from there.
This effectively means, that from Moodle 2.7 onwards, we will have the correct original username, email,
idnumber, picture and mnethostid. Before that, only the email could be restored, and even that method is
not foolproof (due to the fact the username is cleaned with PARAM_USERNAME upon deletion).

INSTALLATION

- Copy the userrestore folder to your admin/tool directory.
- Configure your admin tool.
- We're ready to run!

Version information

Version build number
2017050100
Version release name
3.0.0 (build 2017050100)
Can be updated from
2.7.0 (2015042001), 2.7.0 (build 2015042002) (2015042002)
Can be updated to
3.3.0 (build 2017092500) (2017092500), 3.5.0 (build 2018050300) (2018050300), 3.6.0 (build 2019060100) (2019060100), 3.6.2 (build 2019060102) (2019060102)
Maturity
Stable version
MD5 Sum
d52371f1ad79d692417acca1abda426c
Supported software
Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3

Version control information

Version control system (VCS)
Mercurial
VCS repository URL

Default installation instructions for plugins of the type Administration tool

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation