msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 14 forks source link

omSupply backups #4662

Open andreievg opened 3 months ago

andreievg commented 3 months ago

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

Implement backup and restore functionality as per: https://github.com/msupply-foundation/open-msupply/pull/3924

Describe the solution you'd like 🎁

Extend existing omSupply cli to copy app_data and backup database (copy sqlite files for sqlite, and do pg_dump for postgres). Existing cli already uses configuration files, and makes it easier to locate app_data + database location, port, credentials etc..

Describe alternatives you've considered 💭

https://github.com/msupply-foundation/open-msupply/pull/3924

Additional context 💌

Moneyworks Jobcode 🧰

DhanyaHerath commented 2 months ago

Should this be closed and a separate issue opened for the UI around it?