has anyone been working on a synchronization of courses between two moodles?

has anyone been working on a synchronization of courses between two moodles?

by Kathrin Bonfigt -
Number of replies: 7
hi everyone,

i m trying to get courses of two moodles synchronized and i was wondering if anyone worked on that already?!

cheers
kathrin
Average of ratings: -
In reply to Kathrin Bonfigt

Re: has anyone been working on a synchronization of courses between two moodles?

by W. van den Helder -

Hello,

If anyone has, please let me know. I want to get a local backup in case the connection fails.

W. van den Helder

In reply to W. van den Helder

Re: has anyone been working on a synchronization of courses between two moodles?

by Kathrin Bonfigt -
Hi,

if you just want to replicate the whole moodle platform, its quite easy with the mysql replication..

i used that to copy the courses to another server and then send only the grades back to the main server.

cheers
kathrin
In reply to Kathrin Bonfigt

Re: has anyone been working on a synchronization of courses between two moodles?

by W. van den Helder -
Hello Kathrin,

If I understand you correct, I only have to sync the MySQL DB's and I'm done?

W. van den Helder
In reply to W. van den Helder

Re: has anyone been working on a synchronization of courses between two moodles?

by Kathrin Bonfigt -
Hi,

yes if u just want to have a copy on another server, but its only one-way sync [1].

cheers
kathrin

[1] http://dev.mysql.com/doc/refman/5.1/en/replication.html
In reply to Kathrin Bonfigt

Re: has anyone been working on a synchronization of courses between two moodles?

by W. van den Helder -
Hello,

What I want to try is the following:
In normal use all clients are connecting to the internet to use Moodle.
In case our connection fails, I need a backup so clients can continue to work (local).
In all cases full operation is needed.

When I replicate both ways, can I realize this?

W. van den Helder
In reply to W. van den Helder

Re: has anyone been working on a synchronization of courses between two moodles?

by Kathrin Bonfigt -
Hi,

thats almost what i m trying to do, except the users are always working on a local copy, which is synced with a main server.

But its a little difficult to sync both ways, so i simplified it a little by only sync the grades both ways.

In my case the good thing is, that there s a user group for each server and none of the groupA will ever do something on MoodleB, so its easy merge the grades, because there is an individual entry for each user in the database. Otherwise it gets more complicated due to the ids and relationships within the database.

cheers
kathrin


In reply to Kathrin Bonfigt

Re: has anyone been working on a synchronization of courses between two moodles?

by Evan Donovan -

Has there been any work on this in the past 3 years? I know I can get similar functionality with backup/restore, but I would prefer to use a one-click import functionality if it is available.

PS I voted for the relevant issue in Moodle Tracker, although it's still only listed as a 1.9 issue.