RHEA OpenHIM Backup Recovery

The RHEA OpenHIM implementation is set to backup it's database nightly to the ~/backups/ folder.

In order to restore the OpenHIM, you should follow the instructions for setting up the OpenHIM found here: Deployment. However, instead of creating a new database rather use the backed-up database dump found in the backup. So, instead of performing steps 10, 11 and 12; do the following:

  1. tar -zxvf yyyy-mm-dd-HIM-core-backup.tar.gz
  2. mysql -u <dbuser> -p<dbpassword> < yyyy-mm-dd-HIM-core-backup.sql

After this, you may continue with the setup as per usual.