Title: Rdiff and Rsync Implementation on Moodle's Backup and Restore Feature of Course Synchronization over The Network
Authors: Fajar Purnama, Tsuyoshi Usagawa, Royyana Ijtihadie, Linawati
Source: http://dx.doi.org/10.1109/TENCONSpring.2016.7519372
Final Draft: https://www.publish0x.com/fajar-purnama-academics/rsync-and-rdiff-implementation-on-moodles-backup-and-restore-xgdpojl?a=4oeEw0Yb0B&tid=slideshare
Presenter: Fajar Purnama
Video: https://youtu.be/x7EaZe3pl-g
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Rdiff and Rsync Implementation on Moodle's Backup and Restore Feature of Course Synchronization over The Network Presentation
1. Rdiff and Rsync Implementation on Moodle’s Backup
and Restore Feature for Course Synchronization over
The Network
Fajar Purnama 1 Tsuyoshi Usagawa 1 Royyana Ijtihadie 2 Linawati 3
1Kumamoto University
2Institut Teknologi Sepuluh Nopember
3Udayana University
fajar@hicc.cs.kumamoto-u.ac.jp tuie@cs.kumamoto-u.ac.jp roy@its.ac.id linawati@unud.ac.id
October 18, 2016
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 1 / 38
2. Outline
1 Introduction
E-learning
Online Course
LMS Moodle
Developing a Course
2 Related Work
Course Sharing
Issue of Traditional Course
Sharing
Course Synchronization
3 Experiment
Proposed Course
Synchronization
Scenarios
4 Result
Demonstration
Measurement
5 Conclusion and Future Work
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 2 / 38
4. Introduction Online Course
Classroom: Conventional vs Online
Anywhere
Anytime
Face to Face
Face to Face
Anytime
Anywhere
Face to Face
Anywhere
Anytime
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 4 / 38
5. Introduction LMS Moodle
Learning Management System
Learning Management System (LMS) can be refered to a software with a
system that can manage online learning and teaching process.
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 5 / 38
6. Introduction LMS Moodle
On the students’ side they can read materials
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 6 / 38
7. Introduction LMS Moodle
On the students’ side they can follow quizzes
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 7 / 38
8. Introduction LMS Moodle
On the students’ side they can join discussions
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 8 / 38
9. Introduction LMS Moodle
On the students’ side they can submit assignments
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 9 / 38
10. Introduction Developing a Course
On The Teacher’s Side
Flexibility
Teachers can return feedbacks at their leasure time. With
all the student’s activity recorded on the system, it is
easier to monitor
Issue
It is not so easy developing a course. Some contents may
correctly be written by Professors. Through experience can a person
develop a well designed and written course, but also takes time to gain
those experiences, not to mention developing a course afterwards.
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 10 / 38
11. Related Work Course Sharing
Course sharing as one of the solutions.
The term massive open online course (MOOC) was one of the triggers where course are
open for countless participants to enroll online. Then came an idea, why not share these
courses? It’s one of the solutions to the issue of developing a course by oneself.
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 11 / 38
12. Related Work Course Sharing
Moodle’s Course Backup and Restore Feature
Moodle had a feature to reuse course on other sites.
The course can be backup into .mbz format archive and that is what
is downloaded on the course sharing on moodle.net.
The major features Moodle’s backup and restore are the flexibility to
set the informations contain on the backup whether they are including
users information or not, or including all contents or just certain
contents.
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 12 / 38
13. Related Work Issue of Traditional Course Sharing
Constant revisions for perfecting a course, especially in
formal education systems.
F
L
O
W
O
F
T
I
M
E
Authors Subscribers
Creates
Course
16MB
Course
16MB
Share
Revises
Course
28MB
Course
28MB
Share
Revises
Course
30MB
Course
30MB
Share
Revises
Course
...MB
Course
Share
Heavy
Network
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 13 / 38
14. Related Work Course Synchronization
Identify the differences between databases and directories,
then send the differences and update current course.
F
L
O
W
O
F
T
I
M
E
Authors Subscribers
Creates
Course
16MB
Course
16MB
Share
Revises
Course
28MB
Course
~10MB
Update
Revises
Course
30MB
Course
~2MB
Revises
Course
...MB
Course
Update
16MB
Course
28MB
Course
Update
...MB
Course
Efficient
Network
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 14 / 38
15. Related Work Course Synchronization
Application Written in PHP
Master Console
Slave Console
Before Synchronization After Synchronization
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 15 / 38
16. Related Work Course Synchronization
Challenges of Course Synchronization
Compatibility
Developing many applications to be compatible with all
versions of Moodle.
Flexibility
Develop features to set the synchronized informations.
These Features
Moodle’s course backup and restore has these features.
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 16 / 38
29. Result Demonstration
Console Written in PHP, both sides uploads their backup
archive.
Slave LMS Master LMS
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 29 / 38
30. Result Demonstration
On the slave side, ”settings” to define the Master’s Url,
then ”update”.
Slave LMS Master LMS
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 30 / 38
31. Result Demonstration
Slave side generates signature file.
Slave LMS Master LMS
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 31 / 38
32. Result Demonstration
Slave side sends signature file and Master side receives.
Slave LMS Master LMS
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 32 / 38
33. Result Demonstration
Master side generates delta file using its backup file and
received signature file.
Slave LMS Master LMS
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 33 / 38
34. Result Demonstration
Master side returns delta file to Slave side.
Slave LMS Master LMS
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 34 / 38
35. Result Demonstration
Master side updates the backup archive using the received
delta file.
Slave LMS Master LMS
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 35 / 38
36. Result Measurement
Network Usage of Synchronization
Rdiff direct archive synchronization. Rdiffdir recursive file synchronization.
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 36 / 38
37. Conclusion and Future Work
Efficiency
Like the previous course synchronization, this paper’s
course synchronization method also shows network
efficiency.
Compatibility
Since it uses the existing feature in Moodle, it is likely
compatible with all versions of Moodle, but it has not yet fully
demonstrated on this paper. In the future it will be demostrated and also further
develop the application to be compatible with all other LMSs.
Flexibility
Unlike our previous course synchronization, the one on this paper gave more
flexibility to specify the informations to be synchronized
since it uses Moodle’s backup and restore feature. However this too hasn’t been fully
demonstrated.
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 37 / 38
38. Conclusion and Future Work
Thank you
Any comments or questions?
Fajar Purnama (KU) TENSYMP2016 October 18, 2016 38 / 38