User Restore

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

User Restore 3.6.0 (build 2019060100)

Moodle 3.5, 3.6, 3.7
Released: Monday, June 17, 2019, 5:05 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
2019060100
Version release name
3.6.0 (build 2019060100)
Can be updated from
3.0.0 (build 2017050100) (2017050100), 3.3.0 (build 2017092500) (2017092500), 3.5.0 (build 2018050300) (2018050300)
Can be updated to
3.6.1 (build 2019060101) (2019060101), 3.6.2 (build 2019060102) (2019060102)
Maturity
Stable version
MD5 Sum
c8b05286e1e5a33729d2824e7ebb5c6c
Supported software
Moodle 3.5, Moodle 3.6, Moodle 3.7

Version control information

Version control system (VCS)
Mercurial
VCS repository URL

Default installation instructions for plugins of the type Admin tools

  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