Skip to content

Scripts for taking daily OpenMRS backups and RDS Deltas at facility

Notifications You must be signed in to change notification settings

HISMalawi/cdr_backups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

CDR BACKUPS INSTALLATION

Pre-requisites;

  1. EMR
  2. MySQL 8+
  3. Server running on Ubuntu or any Debian distribution

Steps to deploy;

  1. clone the repository and copy the folders on the home directory of the ubuntu user

  2. add the following cronjobs ;

    CronJob for generation of OpenMRS backup

    00 18 * * * cd ~/backup/ && bash openmrs_backup.sh >> ~/backup/logs/openmrs_backup.log 2>&1

    CronJob for generation of RDS delta

    00 17 * * * cd ~/cdr_rds_dump/ && bash rds_dump.sh 5 >> ~/cdr_rds_dump/logs/rds_delta.log 2>&1

About

Scripts for taking daily OpenMRS backups and RDS Deltas at facility

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages