Rsync and Rdiff Implementation on Moodle’s Backup and Restore Feature for Course Synchronization over The Network

Fajar Purnama
17 min readMay 29, 2020


  1. displaying IEEE copyright notice (978–1–5090–0931–2/16/$31.00 ©2016 IEEE)
  2. full citation to the original IEEE publication (F. Purnama, T. Usagawa, R. M. Ijtihadie and Linawati, “Rsync and Rdiff implementation on Moodle’s backup and restore feature for course synchronization over the network,” 2016 IEEE Region 10 Symposium (TENSYMP), Bali, 2016, pp. 24–29, doi: 10.1109/TENCONSpring.2016.7519372.)
  3. link to the article abstract in IEEE Xplore (
  • which unfortunately, I don’t have the authority for allowing you to reuse, share, etc. If you want to do so then ask permission from IEEE.
  • The presentation is available at Slide Share.
  • The source code is available at Github.


E-learning has been widely implemented in educations system. Most higher institutions have applied Learning Management Systems (LMSs) to manage their online courses, with Moodle as one of the most favored LMS. However on the other side creating a well designed and written course remains problematic for teachers. That’s why the community encourages them to share their courses for others to reuse. The authors or teachers then will continuously revise their courses, that will make subscribers to re-download the whole course again, which will soon lead to exhaustive network usage. To cope with this issue a synchronization model of course’s backup file is proposed, retrieving the differential updates only. This paper proposed the synchronization of the existing backup and restore features. The file synchronization is performed between course’s backup files based on rsync algorithm. The experiment was conducted on virtual machine, local network…



Fajar Purnama

this blog contains all my articles licensed under creative commons attribution customized sharealike (cc-by-sa) where you can sell but mention the open one here