notes/software/Versioned config files.md
2024-09-10 20:31:36 -06:00

7 lines
589 B
Markdown

## 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?