moonraker icon indicating copy to clipboard operation
moonraker copied to clipboard

backup and restore config from git repository

Open pOmelchenko opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe

We do not have native tools to back up configs via remote storage like s3, git, etc. I talk about tools which not related with CLI.

Describe the solution you'd like

It will be good if we can save our config into git and github repo (or other). Maybe it will be cool when configs will upload from git automatically, like as continuous delivery.

Describe alternatives you've considered

No response

Additional information

No response

pOmelchenko avatar Oct 19 '22 22:10 pOmelchenko

I came here to log the same FR.

Moonraker should remain neutral to git solutions. Bitbucket, Gitlab, GitHub. Which means an implementation might be as simple as a git protocol - expecting the user to already have a repo setup.

And for the authorization token, perhaps clients like Fluidd and Mainsail can implement OAUTH to GitHub, GitLab, etc to login and create a repo and create a token... Which would be passed to moonraker's config.

Which brings up another concern: credentials. Moonraker, and a few other clients, can require credentials to allow authorization, or to gain access to a other system.

Not sure if that's a simple scrub before committing. Or storing secrets encrypted in the repo (most likely), etc.

eduncan911 avatar Nov 15 '22 15:11 eduncan911