Canvas automated backups - Automated course exports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have to make full backup of the Canvas LMS, so I'll backup canvas code (excluding logs), database, and I'd like to backup individual courses also. Is there a way to export canvas course using command line in Linux? I'd like to be able to export courses for example as common cartridge files using terminal, so I could automate the process. And sometimes it's easier to restore a course than to do restoration of the full site.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi giddyg,
You can export courses through the Canvas LMS REST API. Using the Content Exports API, you can export a course using the following endpoint: POST /api/v1/courses/:course_id/content_exports . You can track the progress of the export with the Progress API (progress is linked to with the progress_url value of the ContentExport object) and when it is complete use the show content endpoint, GET /api/v1/courses/:course_id/content_exports/:id, to retrieve a download URL for the exported content.