Migrate Bahmni DB without patient data

We are planning to install a fresh bamni. We need to use all the concepts which are in our existing bahmni and we are looking forward to carrying the same in the new bahmni (except patients’ details ). Can you please guide me through this.

  1. a fresh bahmni with all concepts and observations forms and other related items from the existing bahmni. ( have latest backup of existing bahmni)

You can try this to remove patient data from bahmni: note: Please run this code on pre-prod or devlovep server before prod https://bahmni.atlassian.net/wiki/spaces/BAH/pages/45776970/Using+a+Fresh+Database#UsingaFreshDatabase-Deletingpatientdatafromdatabase

1 Like