Fantastic tip in this article to use version control (i.e. git) for config files, I hadn't thought of that.