cdli-gh / Framework

CDLI General issues & CDLI Framework Update project work packages
24 stars 15 forks source link

Periodic tasks for Docker VM services (backup, database dumps, cleanup, etc.) #75

Closed nomoon closed 5 years ago

nomoon commented 6 years ago

Summary

This issue is about organizing the various periodic processes that the system needs to perform—daily dumps of database or parts thereof, cleaning up of Collections files, other "Cron" jobs—under the purview of one Docker container.

TODOs:

Other links or relevant information

TODO: List found scripts here.

::: Automatic :::

:::Should be automatic::: (not blocking)

:::To create:::

Roadmap Data

🗓 Start Date: 2018-06-05

🗓 Expected Date:

💪 Label:

📈 Progress (0-1): 0

nomoon commented 6 years ago

@epageperron Who else should I tag if I'm looking to make a list of all the existing periodic tasks to integrate?

epageperron commented 6 years ago

Unfortunately except Prashant, me and Bob...

epageperron commented 6 years ago

This is a draft, will be updated soon.

Qnap new folder structure suggestion

Orchestrator

Dumps

Clean-ups

147

rsync of 157 mounts to Qnap

Daily copy of DL and webroot to /glacier/static_files/ Daily copy of dumps/database to glacier/databases/MariaDB Daily copy of dumps/data to /glacier/data Destination: Other info:

rsync of 158 dump to Qnap

Daily rsync of the 158 db dump folder to /databases/FMPro

rsync of Qnap to partners

Daily rsync of Qnap to partners

epageperron commented 5 years ago

Ok I think we need to seriously look over all of this and implement our new backup strategy. 154's os disk is always full for some reason, the varia drive has failed so this task should be solved before spring @danielatucla2010 @nomoon

epageperron commented 5 years ago

https://gitlab.com/cdli/framework/issues/102