Changing the Default Automated Course Backup Filename

Changing the Default Automated Course Backup Filename

by Rick W -
Number of replies: 1

I am a new Moodle administrator (running Moodle 3.1.2), and have been setting up automated course backups. That is going well.

The Backup filename appears like this:

backup-moodle2-course-[Course No]-[Course Short Name]-[Date]-[Time].mbz

Is it possible to change the default file name to something different - for the automated backups?
Where does one make this change?

Is there are reason why the filename includes "moodle2"? Is it possible to have the filename automatically return the current version of Moodle instead? (e.g. "moodle312"?)

Many thanks,
Rick

Average of ratings: -
In reply to Rick W

Re: Changing the Default Automated Course Backup Filename

by Séverin Terrier -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hi Rick,

Interesting questions.

"moodle2" stands for Moodle 2.x type of backup, opposed to the 1.x way it was done...

As explained in the course backup documentation, the backup name can also end with -nu (no user) or -an (anonymized names).

And for me, with french language used, the "backup" (at the beginning) is replaced by "sauvegarde".

But it doesn't seem to be possible to personnalise the name as you want easily.

Séverin