nextgenhealthcare / connect

The swiss army knife of healthcare integration.
Other
915 stars 275 forks source link

[IDEA] Automate Backup/Export #5937

Open rjkroll opened 1 year ago

rjkroll commented 1 year ago

Is your feature request related to a problem? Please describe. A setting within Mirth that will automate the Export Config option and other such exportable settings in an scheduled manner

Describe your use case This feature would help users automate their Mirth config, channels, code templates, etc. from within Mirth in an automated fashion so that users do not have to rely an external or homebrew solutions that may break whenever Mirth updates. Solutions are available via the API/CLI, but having it within Mirth as a setting would be far more useful.

Describe the solution you'd like A 'Backup' Setting within Mirth that will allow you set, on a schedule, the exporting/backup of Mirth related things, such as selecting either a Full Config backup, only channels, only code templates, etc. Other options for the backup would be to be able to point to a local drive or network share, as well as if the backups should be zipped/password protected zipped.

Describe alternatives you've considered The alternative is the backupMirthServer code template that is populate on the forums, which accomplishes all of this already, but depending on what version of Mirth you are using, it may or may not work, compared to the version of the code template you are using. Having it all within Mirth as a setting would help everyone that uses Mirth if they are looking for an easy way to backup their settings for versioning, disaster control, etc.

Additional context Add any other context or screenshots about the feature request here.

pacmano1 commented 1 year ago

See https://github.com/nextgenhealthcare/connect/discussions/5374#discussioncomment-3531926 for other backup tools. Just a reference point for Nextgen.

ruthrichardson commented 1 year ago

I am working on a project to incorporated CI/CD for our Mirth environment. I am having a lot of difficulty doing this within Mirth Connect itself, but have had success using the Client API (rather than the User API). My company would be interested in this functionality as well.

Let me know if you are interested in how I have begun by using the Client API.

leite08 commented 9 months ago

Hey @ruthrichardson, I'm interested in how you solved this with the Client API! Can you share your setup, please?

leite08 commented 9 months ago

Got to it through the link on the left pane of Mirth Administrator, View Client API:

image