notes/software/Versioned config files.md

7 lines
589 B
Markdown
Raw Normal View History

2024-09-11 02:31:36 +00:00
## Solutions
- Create a directory, eg `/etc/config` and store all of your config files there, then use a makefile to automatically generate symlinks and install them in the appropriate locations. A command is also created for removing said symlinks. (<https://forums.freebsd.org/threads/version-control-for-configuration-files.70312/>)
- Using a solution like zfs/btrfs
## Notes
I think one major issue with storing configs in a solution like git, is that you need to remember to push changes after every single config change. Maybe a cronjob could be configured to commit daily/weekly?