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

Implement a clean up script to process old backup files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.8
    • 1.9.6
    • Backup
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      Ashely, not sure if you have time but you said you were working on it already

      Basically we need a basic shell/sed script to traverse all the sub directories of moodledata in a repeatable pattern, looking for backups, and then for each file:

      • Save the current working filename in a temp file somewhere (to enable resuming if something fails)
      • Make a backup of the file somewhere (just in case)
      • Unzip the file
      • Run a regexp on moodle.xml, removing password hashes
      • Zip up the file again

            samhemelryk Sam Hemelryk
            dougiamas Martin Dougiamas
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.