Backup redirects to restore page

Backup redirects to restore page

by Mike Algozzine -
Number of replies: 0

After backing up a course and clicking Continue, users are redirected to the backup/restorefile.php page. If they don't have the "Restore courses" moodle/restore:restorecourse capability, they get the following error:

Sorry, but you do not currently have permissions to do that (Restore courses)

The backup is apparently successful, but the error is disconcerting and not being able to access the restorefile.php page apparently prevents the user from downloading the backup file they just created. This presents a problem in custom roles that allow backups, but not restores. Has any consideration been given to removing this "Restore courses" dependency from the backup process? Are there workarounds in the meantime?

Thanks in advance.

Average of ratings: -