Amadeus is a LMS (Learning Management System) with a focus on analytics, usability and performance. The main goal is to provide a focused environment where students and teacher can self assess their performance.
Architecture Overview
docker exec -t amadeuslms_db_1 pg_dumpall -c -U postgres > dump_`date +%Y-%m-%d_%H_%M_%S`.sql
docker exec -t amadeuslms_db_1 pg_dumpall -c -U postgres | gzip > ./dump_$(date +"%Y-%m-%d_%H_%M_%S").gz
cat dump.sql | docker exec -i amadeuslms_db_1 psql -U postgres
gunzip < dump.gz | docker exec -i amadeuslms_db_1 psql -U postgres
To set automatic backup, run crontab -e
on terminal and add the line below to the created file
30 2 * * * cd /root/amadeuslms && bash ./backup.sh >> cron.log
0 5 * * * cd /root/amadeuslms && bash ./jobs.sh >> cron.log
Sources of information pt-br: https://softwarepublico.gov.br/social/amadeus