Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting to duplicate all objects on external storage for full backup/disaster recovery #560

Open
sheetalgulia opened this issue Apr 10, 2023 · 2 comments

Comments

@sheetalgulia
Copy link

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.

@danmarsden
Copy link
Member

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.

@jgupta
Copy link

jgupta commented Apr 15, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants