Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38501

Create a "Bulk course action" menu, allowing several operations (backup, delete, reset, change settings...)

    Details

    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE

      Description

      As we have a bulk user action, allowing several operations, i think it would be really useful to have a "Bulk course actions" menu in "Site Administration > Course", allowing to select several courses, and then make some actions on them.

      Actions could be : delete, backup (choosing options), reset (choosing options), change settings (start date, format, max file size, availability, language...)

      These are just some examples, there could be other uses.
      It would also be good if these actions could be achived by cli.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              fox Séverin Terrier added a comment -

              Some actions that could be done bulk.

              We could also think of (un)enrolling students (or other role) on selected courses.

              Show
              fox Séverin Terrier added a comment - Some actions that could be done bulk. We could also think of (un)enrolling students (or other role) on selected courses.
              Hide
              rajeshtaneja Rajesh Taneja added a comment -

              Thanks for reporting this.

              I've put that on the backlog.

              In the meantime feel free to help us work on this issue. If you are able to provide a patch or links to your Git repository branch, please add a patch label so we will spot it.

              Show
              rajeshtaneja Rajesh Taneja added a comment - Thanks for reporting this. I've put that on the backlog. In the meantime feel free to help us work on this issue. If you are able to provide a patch or links to your Git repository branch, please add a patch label so we will spot it.
              Hide
              raickonen Luciano Silva added a comment -

              Bulk delete would be very useful. We plan archive old courses in other machine and preserve 2 years on production. This option, by interface or command line would be nice!

              Show
              raickonen Luciano Silva added a comment - Bulk delete would be very useful. We plan archive old courses in other machine and preserve 2 years on production. This option, by interface or command line would be nice!
              Hide
              poltawski Dan Poltawski added a comment -

              Please as note MDL-13114 which was integrated last week allowing much of this to be achieved with csv files.

              Show
              poltawski Dan Poltawski added a comment - Please as note MDL-13114 which was integrated last week allowing much of this to be achieved with csv files.
              Hide
              schach Heiko Schach added a comment -

              Great idea. This would save many admins a lot of work.
              Especially bulk backup and delete of courses is important for us. We decided to keep our Moodle leaner by deleting old unused courses regularly. Before deletion we take a course backup for the archive.
              We found backadel (CONTRIB-605) very useful for this task, but I'm not sure if this will still work for Moodle versions 2.6+.

              Show
              schach Heiko Schach added a comment - Great idea. This would save many admins a lot of work. Especially bulk backup and delete of courses is important for us. We decided to keep our Moodle leaner by deleting old unused courses regularly. Before deletion we take a course backup for the archive. We found backadel ( CONTRIB-605 ) very useful for this task, but I'm not sure if this will still work for Moodle versions 2.6+.
              Hide
              salvetore Michael de Raadt added a comment -

              As Rosie has left HQ, I'm opening this issue up to other developers.

              Show
              salvetore Michael de Raadt added a comment - As Rosie has left HQ, I'm opening this issue up to other developers.
              Hide
              schach Heiko Schach added a comment - - edited

              Hello.
              Has there been any progress lately on getting bulk backup and delete into Moodle?

              Until now we have been using Backadel (CONTRIB-605, https://tracker.moodle.org/browse/CONTRIB/component/10346) for bulk backup and deletion of courses, which has worked really well.

              I'm not quite sure about the status of the backadel plugin. There hasn't been much development lately.
              It is still using Events 1 API deprecated handlers so to make backadel work for future versions of Moodle they should be updated to use Events 2 API.

              Starting with Moodle 3.1 there is a warning in Site Administration > Notifications:
              The following plugins in your system are using Events 1 API deprecated handlers: 'block_backadel'. Please, update them to use Events 2 API. See https://docs.moodle.org/dev/Event_2#Event_dispatching_and_observers.

              Show
              schach Heiko Schach added a comment - - edited Hello. Has there been any progress lately on getting bulk backup and delete into Moodle? Until now we have been using Backadel ( CONTRIB-605 , https://tracker.moodle.org/browse/CONTRIB/component/10346 ) for bulk backup and deletion of courses, which has worked really well. I'm not quite sure about the status of the backadel plugin. There hasn't been much development lately. It is still using Events 1 API deprecated handlers so to make backadel work for future versions of Moodle they should be updated to use Events 2 API. Starting with Moodle 3.1 there is a warning in Site Administration > Notifications: The following plugins in your system are using Events 1 API deprecated handlers: 'block_backadel'. Please, update them to use Events 2 API. See https://docs.moodle.org/dev/Event_2#Event_dispatching_and_observers .
              Hide
              dethme0w Gerald Albion added a comment -

              We're working on a course archiving strategy, where old courses from our production Moodle are moved to an archive Moodle where students and faculty can access them for a few years before we finally delete them.

              A bulk backup and bulk restore functionality would go a long way toward this, possibly even sharing code with a purpose-built course archiving and migration feature, especially if it can be automated.

              Show
              dethme0w Gerald Albion added a comment - We're working on a course archiving strategy, where old courses from our production Moodle are moved to an archive Moodle where students and faculty can access them for a few years before we finally delete them. A bulk backup and bulk restore functionality would go a long way toward this, possibly even sharing code with a purpose-built course archiving and migration feature, especially if it can be automated.

                People

                • Votes:
                  34 Vote for this issue
                  Watchers:
                  24 Start watching this issue

                  Dates

                  • Created:
                    Updated: