CDR BACKUPS INSTALLATION
Pre-requisites;
- EMR
- MySQL 8+
- Server running on Ubuntu or any Debian distribution
Steps to deploy;
-
clone the repository and copy the folders on the home directory of the ubuntu user
-
add the following cronjobs ;
00 18 * * * cd ~/backup/ && bash openmrs_backup.sh >> ~/backup/logs/openmrs_backup.log 2>&1
00 17 * * * cd ~/cdr_rds_dump/ && bash rds_dump.sh 5 >> ~/cdr_rds_dump/logs/rds_delta.log 2>&1