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

Add more parameters to CLI backup script (to choose if logs or user datas should be included)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9.3, 3.0, 3.1.4, 3.2.1, 3.3.5, 3.4.2
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE

      Description

      The backup script (admin/cli/backup.php) can be useful, but could be improved.

      It now uses values (parameters) defined by the administrator in the web interface.

      But the advantage to have a CLI script (in my opinion, and other people, see https://moodle.org/mod/forum/discuss.php?d=321950 ) is being able to use different parameters from what is defined in Moodle.

      So, it would be very helpfull if it was possible to pass more parameters to this script, to be able to do different types of backups, for exemple : integrates (or not) logs, integrates (or not) user datas...

      Thanks in advance if something can be done for that.
      Séverin

        Attachments

          Activity

            People

            • Votes:
              18 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated: