Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improvement] course-restore with option settings #465

Open
CartierPierre opened this issue Feb 28, 2024 · 0 comments
Open

[improvement] course-restore with option settings #465

CartierPierre opened this issue Feb 28, 2024 · 0 comments

Comments

@CartierPierre
Copy link

  • moosh version: 1.17
  • moodle version: 4.3
    • database: mariadb
  • php version: 8.2.7
  • operating system: debian 11

Actual behaviour

The course-restore function can only restore a course as it was when backuped.

Expected behaviour

With the web interface, it's possible to restore as a new course a .mbz, choosing a new course name and selecting settings like enrolment methods (ref to this issue ? #325). But there is no option like this for course-restore. I also looked at course-create, but no --from-backup for exemple. And no course-import too.

As you can guess, I want to massively export and import courses from a platform to an other. (No, I don't want to use migration db for this specific task).

Is it possible to improve one of these functions ? Or do you have a trick to do it ? (I saw it's possible to course-backup with --template).

I'm open to discuss :)
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant