Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: Backing up course sections via CLI or SQL?

$
0
0
by Ken Task.  

No add-on/plugin of which am aware, but you might be able to put together a couple of cli scripts using moosh

course-restore
Restore course from path/to/backup.mbz to category or existig course.
Example 2: Restore backup.mbz into existing course with id=3

moosh course-restore -e backup.mbz 3

course-backup
Backup course with provided id.

If the course contains only the new section with the translation.  Assume one would use the GUI to do that and that course could be the same one everytime.

Just thinking out loud ...

https://moodle.org/plugins/view.php?id=522

https://moosh-online.com/commands/

'SoS', Ken



Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>