msupply-foundation / msupply-cold-chain

Android application for viewing and monitoring temperatures of fridges
GNU General Public License v3.0
3 stars 3 forks source link

Ability to export database #285

Open andreievg opened 5 months ago

andreievg commented 5 months ago

Is your feature request related to a problem? Please describe.

For issues raised in production, it would be much easier (and less time consuming) for problem replication, if we were able to run the database snapshot locally in our dev environment

Describe the solution you'd like

A way to export sqlite database for Open mSupply Mobile.

Encryption ?

Yes if possible, can specify password when zipping ?

How to access this export on remote sites ?

Maybe good to consult with support team @npendergrast @kahn-msupply. Would it be relatively simple to download data from any particular accessible folder with MDM ?

Describe alternatives you've considered

In production cannot access app data folder, so can't think of alternatives

Additional context

There is identical issue in: https://github.com/msupply-foundation/open-msupply/issues/2751, I think same technique applies for both