and resources.
convert ids in backup/restore. Added a check_version (copied from main moodle auto-update) to mantain changes in backup/restore system.