Developing a Data Pipeline to Migrate an External Course to Moodle
Larrañaga-Flores, Ainara (2025)
Larrañaga-Flores, Ainara
2025
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2025052817450
https://urn.fi/URN:NBN:fi:amk-2025052817450
Tiivistelmä
The objective of this project was to build a data pipeline to migrate course content delivered in JSON format to Moodle, by writing a script for a customized data pipeline. This methodology approach provides customized and re-usable code for future course content migrations to Moodle.
To carry out this project, data migration architecture, methodologies and data formats were studied. In addition to the data migration, a detailed study of Moodle was conducted to understand the structure of the Moodle Backup format. Besides the research, the work also involved planning and designing the architecture of the data pipeline, where multiple scripts were written to handle the course content data which were delivered in JSON format, ensuring their compatibility with the Moodle backup format.
The customized scripts successfully transformed the data into the Moodle backup format. The results showed that it was possible to create the Moodle backup format from scratch and migrate all data to Moodle. However, media files and quizzes were manually imported due to time limits. Moreover, it was discovered that in Metropolia Moodle some heading tags were not supported due to internal administration settings; hence, the content was not showing. However, it was possible to manually fix the headings.
In conclusion, this project confirms the feasibility of migrating course contents into Moodle by building scripts to handle JSON data files. This project not only increases understanding of data migration and building scripts but also of the implementation of data pipelines such as the architecture of Moodle Backup.
To carry out this project, data migration architecture, methodologies and data formats were studied. In addition to the data migration, a detailed study of Moodle was conducted to understand the structure of the Moodle Backup format. Besides the research, the work also involved planning and designing the architecture of the data pipeline, where multiple scripts were written to handle the course content data which were delivered in JSON format, ensuring their compatibility with the Moodle backup format.
The customized scripts successfully transformed the data into the Moodle backup format. The results showed that it was possible to create the Moodle backup format from scratch and migrate all data to Moodle. However, media files and quizzes were manually imported due to time limits. Moreover, it was discovered that in Metropolia Moodle some heading tags were not supported due to internal administration settings; hence, the content was not showing. However, it was possible to manually fix the headings.
In conclusion, this project confirms the feasibility of migrating course contents into Moodle by building scripts to handle JSON data files. This project not only increases understanding of data migration and building scripts but also of the implementation of data pipelines such as the architecture of Moodle Backup.