Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Allow overriding config values on restore #128

Open
rtomayko opened this issue May 11, 2015 · 0 comments
Open

Feature: Allow overriding config values on restore #128

rtomayko opened this issue May 11, 2015 · 0 comments

Comments

@rtomayko
Copy link
Contributor

@rtomayko rtomayko commented May 11, 2015

Originally requested in #96 (comment):

I'd like to make a feature request for overriding a single parameter when restoring: the hostname. The hostname is used to identify the instance within collectd - restoring a the configuration with github.example.com will mess with the monitoring setup.

It'd be a huge win to be able to override certain crucial config values on restore before a config run and without having to visit the management UI. The hostname is an obvious one but I've also wanted to toggle things like email, log collection, and snmp being enabled for staging environments.

In GHE 2.2 we moved to a new config file format that's based on git-config(1). If backup-utils were to add git as a dependency, we could modify the config fairly easily before restoring. The new config file format is also designed to be much more human friendly so human editing and passing a copy of the config file directly via something like ghe-restore -f modified.conf ... should be possible as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.