Course import and export commands
Command-line tools for moving and converting courses.
IT teamDone in: Server3 steps
- 1
Export a course archive
docker compose run --rm drf python manage.py export_course_archive <course-id-or-slug> /app/media/<file>.zipThis writes the same as Export ZIP in Course Studio.
- 2
Import a PowerPoint
docker compose run --rm drf python manage.py import_pptx_course /app/media/<file>.pptx --title "Course title"Options:
--summary,--description,--thematic-area(ejr, srhr, cjr or unassigned),--category,--level,--user(author email),--module-titles(separated by|) and--dry-runto preview. - 3
Convert legacy courses
docker compose run --rm drf python manage.py migrate_legacy_coursesconverts catalogue courses into Course Studio drafts. Use--course <uuid>for one course and--forceto replace an existing draft.
