Open sheetalgulia opened 1 year ago
If you want a separate backup of your objects - I have a POC plugin here which we've been using with an idea to replace server-level backups with a separate object storage container: https://github.com/catalyst/moodle-tool_objectbackup
the future plans for that plugin are mostly in my head or on internal documents though - so it might not do what you want.
I think intention here is not to backup data that is already in objectfs but to ensure objectfs has all files in moodledata/filedir (irrespective of file size restrictions) so that requirement of backing up moodledata directory from webserver can be dropped.
If you want a separate backup of your objects - I have a POC plugin here which we've been using with an idea to replace server-level backups with a separate object storage container: https://github.com/catalyst/moodle-tool_objectbackup
the future plans for that plugin are mostly in my head or on internal documents though - so it might not do what you want.
moodle-tool_objectbackup looks interesting. It would be excellent if objectfs could failover to backup objectfs if primary objectfs is down. This could be a better solution, we were planning to implement primary/secondary failover in this plugin itself with two objectfs replicated with each other (cross replication had to be custom implemented as requirements were to have different objectfs providers). Thank you for sharing.
Duplicating all objects on external storage will allow for disaster recovery from it as it will be a full backup for the filedir. Keep objects less than size threshold on local storage for avoiding latency as before.