Bahmni Backup & Restore - How do they work ?

Hi @binduak the above mentionned bahmni-backrest.conf is the old server. The new server has the default bahmni-backrest.conf values:

openmrs:
  path: /data/openmrs/
  retention_limit: 2
  restore_path: /data/openmrs/

postgres:
  path: /var/lib/pgbackrest/
  retention_limit: 2

bahmni_reports:
  path: /data/reports/
  retention_limit: 2
  restore_path: /data/reports/

sync:
  host:
  path:
  user:

I have zipped the old backup folder from /bahmniData/data/openmrs and /var/lib/pgbackrest to the new server folder respectively /data/openmrs/ and /var/lib/pgbackrest/

After that when I run the restore command from the new server everything goes well. But I can’t access some menus (Sales, Point of Sales and Inventory) from Odoo (error related to the Bahmni Module). I tried then to Upgrade all Bahmni modules from the Apps and the same errors appears. Refer to this thread here .

If I uninstall and reinstall Bahmni Sale module, I can access thoses menus now but all the data are lost.

I think there is something going wrong with the restore command. Either it does not consider backing up some data or I don’t know